[erlang-questions] erlang sucks

Mats Cronqvist mats.cronqvist@REDACTED
Wed Mar 12 15:02:05 CET 2008


Hynek Vychodil wrote:
>
>
> 2008/3/12 Mats Cronqvist <mats.cronqvist@REDACTED 
> <mailto:mats.cronqvist@REDACTED>>:
>
>
>     * 'if'
>     * the three different 'and' (*)
>     * split_binary()
>     * the old type guards (integer() vs. is_integer())
>     * tuple funs
>     etc...
>
>      mats
>
>     (*)
>     (case x of x when true,false ->ok; _-> nok end.
>     nok
>     case x of x when true and false ->ok; _-> nok end.
>     nok
>     case x of x when true andalso false ->ok; _-> nok end.
>     nok
>
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://www.erlang.org/mailman/listinfo/erlang-questions
>
>
> If you don't know reason, don't say there is not reason:
  i am aware that the different kinds of 'and' are subtly incompatible.
that's the reason i think it's a problem...

  or are you saying there is a need for several 'and'? in that case i 
disagree.

  mats

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mats_cronqvist.vcf
Type: text/x-vcard
Size: 179 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080312/97f91815/attachment.vcf>


More information about the erlang-questions mailing list