Up: Classes and Objects

Design

December 15th, 2010 Leave a comment Go to comments
slide 001
slide 002
slide 003
slide 004
slide 005
slide 006
slide 007
slide 008
slide 009
slide 010
slide 011
slide 012

  1. Pete
    December 14th, 2010 at 04:05 | #1

    Not sure this set of slides works as a whole. The introduction is very basic, but by this set you are talking about detailed OO design principles that take quite a long time to grasp let alone use.

    Personally I find the memory map diagrams interesting, but useless. They do not show enough detail to see how python implements the idea, and they are not really relevant to programmers trying to write the code.

    For the basics slides, it would be better to have the same example all of the way through, the Vector/Velocity example could be continued into the code, rather than drifting into the greeter and then the rectangle examples

    The interfaces example confused me, I’ll look at it again later to see if I can figure out what my issue is with that one. Inheritance example has a similar problem for me. I think it is because you do not show how the code is used, but focus on the implementation. For learning I find it easier to see the code in use first, and only then look at how to implement it for myself. The idea being that some black box components are acceptable at the start, and then later I can learn to add my own black box to implement a specific interface and/or implement a relevant subclass. Designing my own superclasses can be left to much later.

    Hope this helps more than it hinders…