|
|
|
|
|
by mcphage
4540 days ago
|
|
> I can see them being more readable to somebody coming from a Haskell or LISP background than to somebody like me who has worked mostly in C, Java, and Python Ruby also has explicit returns. The idea is, every statement is an expression, and so has a return value. You don't need to figure out about whether a statement does or not, it just always does. One less thing to have to think about. Other things, too, but that's one that that sticks out for me. |
|