|
|
|
|
|
by dragonwriter
1028 days ago
|
|
Python has a default None return, Ruby returns the value of the last expression. Neither (except maybe the None case in Python) is really implicit, Ruby is just an expression oriented language while Python is statement-oriented. OTOH, in Ruby the keyword “return” is superfluous except for altering control flow for an early return, while in Python it is the mechanism for supplying a return value. |
|
I would really hate this feature in a language without strong static typing.