Leonardo Giordani

19 Flips | 1 Magazine | 2 Likes | @lgiordani | Born in 1977 with Star Wars, bash, Apple ][, BSD, finger, Zork, Galaxy Express 999, Little Pollon, Dire Straits, The Police, Rumours, The Silmarillion, Squad Leader.Interested in operating systems and computer languages, photography, fantasy and science fiction, video- and boardgames, guitar playing, climbing, horseback riding, Aikido, rollerskating, drawing, painting, bookbinding.I programmed in Z80 and x86 Assembly, GW-Basic, Logo, Borland Turbo Pascal, Prolog, C, C++, PHP, Lisp, Ada, Objective-C, bash, Python, Erlang, Clojure, Scala, JavaScript.I love mathematics and cryptography.I’m mainly interested in open source software. I like both the theoretical and practical aspects of computer science.From 2013 I blog some technical thoughts at http://thedigitalcatonline.com

Some tips about AMQP direct exchanges - The Digital Cat

By Leonardo Giordani • Published on 21/08/2013<p><i>EDIT: thanks to Alvaro Videla that pointed out that a queue can be connected to more than one exchange;</i> …

Python 3 OOP Part 6 - Abstract Base Classes - The Digital Cat

By Leonardo Giordani • Published on 04/09/2014<p>This post is available as an <b>IPython Notebook</b> here<p>The Inspection Club<p>As you know, Python leverages …

Python 3 OOP Part 5 - Metaclasses - The Digital Cat

By Leonardo Giordani • Published on 01/09/2014<p>This post is available as an <b>IPython Notebook</b> here<p>The Type Brothers<p>The first step into the most intimate …

Python 3 OOP Part 4 - Polymorphism - The Digital Cat

By Leonardo Giordani • Published on 21/08/2014<p>This post is available as an <b>IPython Notebook</b> here<p>Good Morning, Polymorphism<p>The term <i>polymorphism</i>, in the …

Python 3 OOP Part 3 - Delegation: composition and inheritance - The Digital Cat

By Leonardo Giordani • Published on 20/08/2014<p>This post is available as an <b>IPython Notebook</b> here<p>The Delegation Run<p>If classes are objects what is the …

Python 3 OOP Part 2 - Classes and members - The Digital Cat

By Leonardo Giordani • Published on 20/08/2014<p>This post is available as an <b>IPython Notebook</b> here<p>Python Classes Strike Again<p>The Python implementation …

Python 3 OOP Part 1 - Objects and types - The Digital Cat

By Leonardo Giordani • Published on 20/08/2014 Last update on 25/06/2018 •<p>This post is available as an <b>IPython Notebook</b> here<p>About this …

Accessing attributes in Python - The Digital Cat

By Leonardo Giordani • Published on 12/01/2015<p>Python is a language that tries to push the object-oriented paradigm to its maximum. This means that …

Default arguments in Python - The Digital Cat

By Leonardo Giordani • Published on 11/02/2015<p>Recently I found a nasty bug in some Python code due to a misuse of default arguments. If you already …

A simple example of Python OOP development (with TDD) - Part 2 - The Digital Cat

By Leonardo Giordani • Published on 10/09/2015<p>In the first part of this small series I introduced you to TDD with Python by means of the powerful …

Advanced use of Python decorators and metaclasses - The Digital Cat

By Leonardo Giordani • Published on 14/10/2014<p>Abstract<p>While introducing people to Python metaclasses I realized that sometimes the big problem of the …

Python decorators: metaprogramming with style - The Digital Cat

By Leonardo Giordani • Published on 23/04/2015<p>This post is the result of a lot of personal research on Python decorators, meta- and functional …

Clojure sequential data types for Python programmers - The Digital Cat

By Leonardo Giordani • Published on 22/09/2015<p>I have been working with Python for more than fifteen years and I developed very big systems with this …

A simple example of Python OOP development (with TDD) - Part 1 - The Digital Cat

By Leonardo Giordani • Published on 13/05/2015<p>If you are eager to learn some Python and do not know how to start, this post may give you some hints. …

Python Mocks: a gentle introduction - Part 1 - The Digital Cat

By Leonardo Giordani • Published on 06/03/2016 Last update on 25/06/2018 •<p>As already stressed in the two introductory posts on TDD (you can find them …

JavaScript

Abstract Base Classes in Python - The Digital Cat

By Leonardo Giordani • Published on 03/04/2016<p>With the introduction of Abstract Base Classes, Python once again shows its nature of a very innovative …

Clean architectures in Python: a step-by-step example - The Digital Cat

By Leonardo Giordani • Published on 14/11/2016 Last update on 02/06/2018 •<p>In 2015 I was introduced by my friend Roberto Ciatti to the concept of …