On OOP when you’re learning programming

March 17, 2011 in Interesting Find

I agree with everything about this:

The shift from procedural to OO brings with it a shift from thinking about problems and solutions to thinking about architecture. Thats easy to see just by comparing a procedural Python program with an object-oriented one. The latter is almost always longer, full of extra interface and indentation and annotations. The temptation is to start moving trivial bits of code into classes and adding all these little methods and anticipating methods that arent needed yet but might be someday.

via prog21: Dont Distract New Programmers with OOP.

There’s also a great discussion on the topic on Hacker News:

http://news.ycombinator.com/item?id=2334939