language design question

Steve Holden steve at holdenweb.com
Mon Jul 10 12:39:41 EDT 2006


Terry Reedy wrote:
> "OKB (not okblacke)" <brenNOSPAMbarn at NObrenSPAMbarn.net> wrote in message 
[...]
> 
> The underlying answer to the original question is that while Pyt;hon is 
> object-based, it is not strictly OO but is intentionally multiparadigmatic 
> and will remain so.  For instance, no one will be forced to replace the 
> procedural expression 'a+b' with the strict OO equivalent 'a .__add__(b)'. 
> But anyone is free to do so in their own code, just as with ob.__len__() 
> for len(ob).

In other words: "because it is".

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden




More information about the Python-list mailing list