Tuesday, January 26, 2016

W3D2 - Inheritance and Polymorphism, and pair programming

The interesting thing about pair programming is that even when partners are very mismatched, having to justify and explain can help the more skilled programmer really think through design decisions.  For the method to work well, the less skilled programmer has to be proactive about asking questions.  If they just sit back and lets the more skilled do all the work, they learn nothing from the exercise.

On the ostensible subject of the lesson - there were a few interesting new concepts.  One would be iterating through an array of instances of classes and calling an identically-named method for each.

As far as inheritance and polymorphism, though, the exercises made sense.  I'm sure there's a lot more to learn, but so far so good.

No comments:

Post a Comment