<br><br><div><span class="gmail_quote">On 9/19/07, <b class="gmail_sendername"><a href="mailto:attila.rajmund.nohl@ericsson.com">attila.rajmund.nohl@ericsson.com</a></b> <<a href="mailto:attila.rajmund.nohl@ericsson.com">
attila.rajmund.nohl@ericsson.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">No need to force, just allow. For example let's say I have a case
<br>statement like this:<br>case SomeVar of<br>        1 -> do_something;<br>        2 -> do_otherthing<br>end,<br><br>Then I realize that I need to handle the value of 3 also, so I just add<br>a line:<br>case SomeVar of
<br>        1 -> do_something();<br>        2 -> do_other thing()<br>        3 -> do_some_other_thing()</blockquote><div><br>well, most of the time i do it automatically (<END> <;> <ENTER> <PASTE>). and even in times i forgot, it never occured to me that a perfectly logical language standard should be changed because of my mistake ...
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">end,<br><br>and I get compilation error. Actually this is the most common<br>compilation error I receive. If erlang would allow syntax like this:
<br>case SomeVar of<br>        1 -> do_something;<br>        2 -> do_otherthing;<br>end,<br><br>I wouldn't get these error messages. It's _really_ annoying.</blockquote><div><br>just look at it that whats annoying in that case is you forgetfulness. and no, i'm not saying that having a bit more flexible syntax is wrong *1),but it seems to me as too much of a hassle to change a language standard so you could just copy and paste more easily. but if you really wanna change this, just go ahead and write an EEP. If during the proces of writing it you wont come to the conclusion that it is unnecessary, maybe you can convince the people whose opinions in that matter really counts.
<br><br><a href="http://www.erlang.org/eeps/eep-0001.html">http://www.erlang.org/eeps/eep-0001.html</a><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
                                Bye,NAR<br>--<br>"Beware of bugs in the above code; I have only proved it correct, not<br>  tried it."<br></blockquote></div><br>*1) i really liked ruby in that matter, and i would never use python
because only idiot - sorry, Guido - would use whitespace in other way
than as word-separator. I'm willing to accept any sensible community
standard for indentation, but this is whitespace fascism ;-). <br><br>if you wanna have some fun : <a href="http://mail.python.org/pipermail/python-list/2003-January/183048.html">http://mail.python.org/pipermail/python-list/2003-January/183048.html
</a> (third thing on goole under python tab), and exactly why i never tried python - not even when they started hyping about django.<br>