The Coder's Apprentice


Operator overloading is a powerful feature of object orientation that allows you to integrate your new classes into programs in a natural way. Operator overloading is always based on the definition of some special methods, that have the typical __<name>__() structure.

Title
Introduction
The idea behind operator overloading
Comparisons
Calculations
Unary operators
Sequences
What you learned
Playing cards (TODO)
Pile of cards (TODO)
War (TODO)
Fruit basket (TODO)