Eureka moments in Python

Brett g Porter bgporter at acm.org
Tue Mar 13 17:50:26 EDT 2007


Dustan wrote:
> On Mar 13, 10:05 am, Brett g Porter <bgpor... at acm.org> wrote:
>> Steven D'Aprano wrote:
>>> I'd be interested in hearing people's stories of Eureka moments in Python,
>>> moments where you suddenly realise that some task which seemed like it
>>> would be hard work was easy with Python.
>> Mine was definitely when I was first working with the xmlrpc module, and
>> I was puzzled to no end how it was that I was able to make a call to a
>> method of an object when that method didn't exist. All the talk about
>> Python being a dynamic language had bounced off of me until that moment,
>> when I walked through the __getattr__ method in the debugger and was
>> enlightened.
>>
>> Not surprisingly, that was also the moment when C++ started feeling like
>> a straightjacket to me...
> 
> Started? Meaning there was a time when it DIDN'T feel like a
> straightjacket? If I were a journalist, this would be all over the
> news...
> 

If you're born wearing a straightjacket, I'm sure that it feels natural 
and fine until the first time someone unties it...




More information about the Python-list mailing list