News for hackers. Stuff that matters.
Re:Python's Original Sin by technomancy on Friday April 23, 2010 @08:12PM (#1289898)
There's no reason why there should be two kinds of things code can be made up of. (statements vs expressions) In a well-designed language, everything that is a statement in Python would just be implemented as an expression that returns nil.
Re:Python's Original Sin by rbanffy on Friday April 23, 2010 @10:56PM (#1290181)
Interesting.

I was under the impression that def x(a):... was only a pretty way to say x = function(a)...

I have to agree print is a weird thing, but what other statements bother you so much?