Monday, December 24, 2007

Names, Objects, Bindings, and Thinking Like a Pythonista

On the Python Mailing list there was a discussion about "references" and someone posted a link to How to think like a Pythonista with some nice ASCII art.


Names look like this:

,-----.
| foo |
`-----'

Names live in namespaces, but that's not really important for the
matter at hand as the only namespace in play is the one associated
with the read-eval-print loop of the interpreter. In fact names are
only minor players in the current drama; bindings and objects are the
real stars.
...


I haven't done much Ruby coding this month (cause of the baby so I'm trying to use the break to brush up on my Python. So a nice article for that.

No comments: