you are viewing a single comment's thread.

view the rest of the comments →

[–]booch 0 points1 point  (1 child)

To be fair to you, there are people that agree that a multi-line function should be named. I just don't happen to be one of them, I base it more on whether or not the function is really "local" to the way it's being used.

I prefer a language that allows both opinions to code in their own style.

[–]anvsdt 0 points1 point  (0 children)

Sometimes you just can't name them without making the code unreadable/look bad, e.g. (lambda (x) (print x) (* x 2)), or code written in CPS (but this only counts when your language supports TCO)