News for hackers. Stuff that matters.
Re:Ruby is beautiful (but I'm moving to Python) by adambyrtek on Sunday November 28, 2010 @05:27PM (#1948538)
> Removing the difference between accessing an attribute (variable) and invoking a method is a solid OO principle.

It's called the Uniform Access Principle[1] and the languages that don't take advantage of it often suffer from a getter/setter hell.

[1] http://en.wikipedia.org/wiki/Uniform_access_principle

Re:Ruby is beautiful (but I'm moving to Python) by anthonyb on Sunday November 28, 2010 @06:51PM (#1948779)
Er, that's one of those false dichotomy thingos. It's quite possible to have something like properties in Python: http://www.python.org/download/releases/2.2.3/descrintro/#pr...

Hey presto! Now you have the best of both worlds.