We're back from the #pybeach morning break and @treyhunner is sharing everything...
Margaret Fero @MaggieFero@hachyderm.io
We're back from the #pybeach morning break and @treyhunner is sharing everything we don't need to know about classes!
First, we played "Function or Class!" to experience for ourselves that functions and classes in Python don't quite consistently divide how you expect.
Calling a method, though, is calling a function on a class.
You can do some pythonicism crimes to write Java class definitions with Python. Every method call translates through the class, though.