Nimble Coder

Adventures in Nimble Coding
posts - 76, comments - 39, trackbacks - 0

Design

Design patterns
Object-oriented focus compared to design structure

I just read a blog complaining about the systematic abuse of object-oriented programming and it reminds me of my complaint about the teaching of object-oriented programming. The typical object-oriented tutorial will define a vehicle class then create two or three derived classes such as a car, truck, and/or motorcycle (example 1 and example 2). This instruction is useful purely on the theoretical level but fails to actually teach the student how to use polymorphism, inheritance, and encapsulation. The issue is far more than object-oriented programming, but rather code structure and layout and design patterns. The most useful exercises in learning...

posted @ Wednesday, November 28, 2007 12:06 AM | Feedback (0) | Filed Under [ Design ]

Powered by: