Why Erlang is the best concurrent language available
Vlad Dumitrescu (EAW)
Fri Jan 24 12:46:44 CET 2003
> > If you really
> > stop and think about what's going on in some Erlang programs,
> > like "I build up this list backward, then I reverse it at the
> > end, creating an entirely new copy of the list," then it
> > *sounds* pretty appalling.
Well, isn't it an unefficiency only apparently (to the untrained eye)? The reason for doing this is *exactly* because it is more efficient than adding every time an item to the end of the list to be returned.
More information about the erlang-questions