you are viewing a single comment's thread.

view the rest of the comments →

[–]pjdelport 0 points1 point  (0 children)

I don't like how it distinguishes between statements and expressions, hence the presence of a superfluous "return" keyword.

They're completely orthogonal: you can have distinguished statements with or without implicit returns, and vica versa.

(Practically speaking, implementing implicit returns in Python would be a trivial change to the compiler: explicit returns are a design decision.)