[erlang-questions] Function Declaration Syntax

Steve Davis <>
Sat May 14 02:58:42 CEST 2011


I like it the way it is. I never questioned it.

Now that it's been asked, I would guess that your suggestion if
implemented would attract many complaints from new users about weird
syntax. It's also harder to scan to see the full intention of the
pattern matching "entry points" to the function.

So I'd say -- if it works...(which it does...) there's no need to
"fix" it. Particularly since the change may be less effective than the
existing status here.

My 2c

/s



More information about the erlang-questions mailing list