Erlang article #1 on programming.reddit.com

Ryan Rawson ryanobjc@REDACTED
Thu Aug 17 20:30:19 CEST 2006


Surely you jest?

You'd have to break Erlang to insert loops.  First off you'd have
variables that need to be changed.  That substantiably breaks Erlang
imho.

If you want to loop, you probably want to map or fold.  If you need to
loop you might want to use gen_server instead, or at the last resort
use a tail recursive call.



On 8/17/06, Joel Reymont <joelr1@REDACTED> wrote:
>
> On Aug 17, 2006, at 5:53 PM, Ryan Rawson wrote:
>
> > I beg of all of you - no for loops.  No looping of any kind!
>
> What's wrong with looping?
>
> --
> http://wagerlabs.com/
>
>
>
>
>
>



More information about the erlang-questions mailing list