[erlang-questions] DRY principle and the syntax inconsistency in fun vs. vanilla functions

Michael Turner <>
Thu May 19 08:36:01 CEST 2011


"I don't currently wish for a different syntax ..."

I'm sorry if you got the impression that you'd have to change, under what's
proposed here. You wouldn't. It is (until I'm informed otherwise) backward
compatible.

-michael turner


On Thu, May 19, 2011 at 2:54 PM, Des Small <> wrote:

> On Wed, 18 May 2011, Daniel Goertzen wrote:
>
>  I think this is a key issue here: multi-clause funs just don't happen all
>> that often.
>>
>
> They happen to me all the time.  Every time I write a recursive function, I
> first write the clause for the base case, then a clause (or clauses) for the
> others.
>
> I don't currently wish for a different syntax, though.
>
> Cheers,
>
> Des
> --
> Des Small,
> Scientific Programmer, JIVE
> Contact details on http://www.jive.nl/~small
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110519/d311904d/attachment.html>


More information about the erlang-questions mailing list