OK André, that's a reasonable request, let me attempt it in the short window I have available before retrieving Lindsey for another try at passing DEQ (should pass this time, thanks to recent visits to Nissan Nation)...
The idea of saying __ribs__ or __rib__ (singular) for Python's special names is a way to turn Python's signature appearance into easy mnemonics i.e. this will help kids (adults) learn.
class Python:
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
__rib__
is not street legal Python, but damn close.
A real Python class has __ribs__ like __init__, __add__, __repr__, __str__ and so forth.
The mnemonics here: Pythons are snakes, have long backbones (the characteristic feature of snakes), lots (lots!) of ribs. So the language Python, in addition to alluding to Monty Python, is very cleverly self referential in terms of classes (types) having a kind of snake-like structure, i.e. the methods stack up to for a "rib cage".
Of course not all method names are special names.
Another use of ribs is in the ribs of a ship or whale. There's the whole idea of "container with guts" i.e. the containership metaphor of dot notation is well supported by this view of a class as a kind of ship, also with __ribs__.
The class definition is actually just the blueprint of a ship (or snake, or other creature) and then we have *instances* of that, i.e. the actual objects are the incarnated (built, constructed) thingies in memory. Just talking basic OO here, nothing new, old hat.
Here's a picture from my notebooks that encourages these heuristics:
http://www.flickr.com/photos/17157315@N00/sets/72157617152555758/ (upper left)
Of course in actual practice we're like building Biotum, Dog, Cat, Monkey, Human, then inheriting from Mammal (polymorphism) in preparation for more stark and austere "math objects" like Vector, Edge, Rational, Polynomial, Polyhedron.
These latter may know to write themselves in scene description language (POV-ray) or x3d, other formats, per examples at Oregon Curriculum Network website (
4dsolutions.net a private company sponsor).
http://www.4dsolutions.net/ocn/stickworks.html (instructional video)
Kirby
PS: some of the best graphics introducing the rib concept are in my Vilnius slides at
http://www.4dsolutions.net/presentations/connectingthedots.pdf (slides 9 - 12 in particular)