Python Dark Corners Revisited
Python can be deceptive - it looks so simple. Surely it will take only 5 to 10 minutes to learn.
Self taught programmers often miss important fundamentals in Python - including:
* Everything is an Object. Yes everything. Integers, 'real' objects, functions, classes. Ooooh template metaprogramming.
* It's only a name. Whoops. True, False, no longer None.
* 'Objects can change their type'. Not.
* How the heck to a actually make a copy
* Which parts of tuples are constant?
* Deep and Shallow - weren't not talking philosophy here
* Accidental name creation - there's no easy solution
* Argument passing, Mutable arguments, default arguments, Mutable default arguments
Peter Lovett is a programmer, son of a programmer, and all three of his sons can program in Python. Being paid to program for 3 decades, he started with punched cards, but is open to more modern tools. He has worked with many languages, from Assembler and C to Perl, Java and Python. He runs training courses through his company, Plus Plus in Australia and New Zealand, and can be found at www.plusplus.com.au