Pythonisms

Oh look, he's actually posting again, and surprise surprise, it's about programming, shock. ;)

Anyway, just a quickie..

I agree with Rory's opinion that Python should be cleaner from it's modernist inception and conception, however he's just way off the mark when it comes to procedural and objectised coding practices in the same language.

You just have to take a step back and remember that there isn't much more than a layer of abstraction separating the great-mana-of-all-coding-evah (yes I'm being sarcastic, can you tell?) that is object orientated programming from plain old procedural hacking, other than the fact that in practice the former will take a very large factoral in time longer than the latter, while the latter will work and work today.

The problem comes from the lack of elegance and maintainability, but languages such as Ruby and Python overcome this by marrying the old hack or die methods with the newer engineering and plan it or sleep on it and then plan it some more methods (which usually involve three weeks on diagrams, and a week on typing in object definitions), giving the developer the simple ability to just plain write their software without worrying about objectising everything, and still be able to write it all out plainly and use object orientation as that extra layer of abstraction, but not worry about it because the machine is handling all the crap for you.

As Don Park said recently, I really hope we won't be worrying about petty issues like interfaces and inheritance in years to come.