Re:Ask HN: What should people know about OOP and program des...
by Michael_K on Thursday October 27, 2011 @09:54PM
(#3166607)
I would structure the lecture like this:
- a bit of evolution of programming and why OO was so huge (re-usability of encapsulated and independent code pieces/modules/libraries)
- fundamentals about OO - encapsulation, polymorphism, inheritance
- How to design - UML, class diagrams.
- Python code examples from biology would be cool. (Tell you class that they shold imagine to be god. They now create an entirely new planet with all its animals and living creatures on them). Have them designing a UML, then present/share/discuss. How does the inheritance look like (chimp -> monkey -> mammal -> living organism...)
- a bit of evolution of programming and why OO was so huge (re-usability of encapsulated and independent code pieces/modules/libraries)
- fundamentals about OO - encapsulation, polymorphism, inheritance
- How to design - UML, class diagrams.
- Python code examples from biology would be cool. (Tell you class that they shold imagine to be god. They now create an entirely new planet with all its animals and living creatures on them). Have them designing a UML, then present/share/discuss. How does the inheritance look like (chimp -> monkey -> mammal -> living organism...)
Let us know it it went :-)