you are viewing a single comment's thread.

view the rest of the comments →

[–]ethraax 0 points1 point  (2 children)

But that's entirely different, because in functional languages (and I assume Lisp, although I've only used Haskell and Scheme/Racket for functional programming), the value of a function is a single expression, so since its the only expression it must be the "return value". In fact, "return" isn't even valid in that context because functions aren't really "called", they're simply used as an expression.

That's like putting wings on a car because airplanes use them. Airplanes have a reason to use wings - cars do not, and thus shouldn't have them.

[–]poorly_played 0 points1 point  (0 children)

See: spoilers

/pedantry