Browse thread
Avoiding shared data
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Martin Chabr <martin_chabr@y...> |
| Subject: | Ant: Re: Ant: Re: [Caml-list] Avoiding shared data |
Hello Pal-Kristian, I agree with you that functional code written in a tail recursive style is hard to read. Sometimes you have to do it that way if you want to avoid a stack overflow. I hope that one day functional language compilers will do that optimization for you - convert a non-tail-recursive code into a tail-recursive one. Do you know of some progress in that direction? Regards, Martin --- Pal-Kristian Engstad <pal_engstad@naughtydog.com> wrote: > I've always thought that this was a really bad > argument from the ML camp. The > logic of complicated control-paths is very easily > made a zillion times worse > by writing in a tail-recursive style. It is *not* a > good programming practice > to make hard-to-read code! ___________________________________________________________ Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx