L'incapsulamento è meglio dell'ereditarietà... E non avresti tutti quei self, se proprio non ti piacciono (a me piacciono).
2012/10/3 Nicola Larosa <n...@teknico.net>: > Antonio Lima wrote: >> Ma se vuoi davvero renderlo implicito, l'approccio più elegante e >> semplice IMHO è quello che prevede l'uso della selfless metaclass. >> http://www.voidspace.org.uk/python/articles/metaclasses.shtml#the-selfless-metaclass > > Mii, mo' giene dico quattro a Michael! > > -- > Nicola Larosa - http://www.tekNico.net/ > > Hive-aversion to politically incorrect speech is but one aspect of > a larger phenomenon. A rather large cohort of people have acquired > the habit of perceiving the world as they wish it would be rather > than accept reality as it exists. This is not a good survival > strategy either for the individual or the species. > - TomA on Eric Raymond's blog, April 2012 > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python