On Sun, Jun 27, 2010 at 6:49 AM, Bruno Desthuilliers <[email protected]> wrote: > WANG Cong a écrit : >> On 06/26/10 00:11, Neil Hodgson <[email protected]> wrote: >> >>> WANG Cong: >>> >>>> 4) Also, this will _somewhat_ violate the OOP princples, in OOP, >>>> this is and should be implemented by inherence. >>> Most object oriented programming languages starting with Smalltalk >>> have allowed adding attributes (addInstVarName) to classes at runtime. >> >> >> Thanks, I have to admit that I know nothing about Smalltalk. >> > > Then you really don't know much about OO.
Guess I don't know much about OO then, despite having written OO code for at least the last ten years... Geremy Condra -- http://mail.python.org/mailman/listinfo/python-list
