4 ms·
> extra vital features (like improvement of inline functions (lambda)) I would not consider this a vital feature. You can already nest arbitrary functions, yo
by eru 17y ago
> extra vital features (like improvement of inline functions (lambda))
I would not consider this a vital feature. You can already nest arbitrary functions, you just have to name them. However Tail-Call-Optimization would be a vital feature. (Alas, it's not going to happen.)
- masklinn 17y agoI'm pretty sure the improvement he was talking about is "full" anonymous functions (w/ multiple statements & everything).
- scott_s 17y agoAnd I'm pretty sure eru understood that, which is why he pointed out you can achieve the same functionality by naming them.
- eru 17y agoYes. And if you want multiple statements, you are either doing site-effects (evil) or using variables inside your closure, so you might as well name it, too.
- masklinn 17y ago> you are either doing site-effects (evil) Uh not necessarily, and even if you are there are many situations where it's interesting and useful. > or using variables inside your closure, so you might as well name it, too Does not follow.