Small poll

Bjorn Gustavsson bjorn@REDACTED
Wed Jan 14 11:46:57 CET 2004


Robert Virding <robert.virding@REDACTED> writes:

> Warning about exporting variables out of if/case/receive statements is
> one one I would have left in as it is clearly dangerous. :-)

There is still a warning if you use the exported variable in
a matching operation, because THAT is usually dangerous.

If you use the exported variable in an expression, you get no
warning.

> 
> > Even if YOU don't like the _Varname convention, other people love it.
> 
>Having it as default means you are trying to enforce a certain style.
> 

Yes, we are. :)

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list