~/talk

Teaching Object-Oriented Programming with Python

Talkat PyCon AU 2017 · 2017-08-03..08-08· [python]
links:none on file
slides:none on file

Shows how Python is used to teach objects by building an inventory system in a game with concrete classes Pack, Item, Weapon and Food, demonstrating inheritance and polymorphism and using isinstance checks rather than static typing. Provides an RPG battle engine (≈1,100 lines) as starter code that students document, extend and refactor; examples include a text adventure with ASCII map and a multi-window GUI with real‑time stats. Recommends resources (Hamrick blog, How to Think Like a Computer Scientist) and argues pedagogy: one language deeply (Python) beats many shallowly.

AI-written summary · about

  1. 0:00Introduction
  2. 1:58Curriculum
  3. 9:45Scratch
  4. 10:45Python
  5. 12:00Framework
  6. 13:32ObjectOriented Approach
  7. 14:55ObjectOriented Example
  8. 21:48Useful Resources
  9. 22:30Task Structure
  10. 23:37Map Class
  11. 23:49Refactoring
  12. 24:05Example
  13. 26:12Questions
  14. 28:33Why Python
  15. 28:56Class Composition
  16. 30:14Data Classes
  17. 30:50Reserved Methods
  18. 31:53Encapsulation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.