Infrastructure engineer, Python programmer, and blogger
London, UK
Dive into Object-oriented Python
View
Born in 1977, I started coding in 1987 on a Sinclair ZX Spectrum. I then moved to MS-DOS PCs and in 1996 I started using Linux and became interested in operating system internals. In these 31 years I worked with several programming languages (x86 Assembly, Turbo Pascal, Prolog, Lisp, C, bash, Erlang, Python). I love architectures, algorithms, mathematics and cryptography. I currently work as an infrastructure engineer and Python developer.
From 2013 I blog some technical thoughts at http://thedigitalcatonline.com @thedigicat
-
Dive into Object-oriented Python
Description
I see many Python programmers, not only beginners, that struggle to understand how to achieve some effects or what happens in their favourite library/framework. Class-based views in Django, high-order functions in the standard library, and sometimes the very class/instance difference can be perceived as magic, thus preventing the programmer to fully exploit their power and to avoid pitfalls.
In this tutorial I will go through the pillars of Object-oriented programming (encapsulation, delegation, polymorphism) showing how they are implemented in Python, with theoretical explanations and exercises. I already run this workshop ten times since 2014 and I always registered a great interest in the matter and a rewarding satisfaction from the attendees when they finally grasp the (eventually very simple) mechanisms that Python is based on.