[Python] Pattern singleton e chiamata __call__

efphe effetom a gmail.com
Gio 29 Mar 2007 02:10:46 CEST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lawrence Oluyede wrote:
>> Non abbiamo bisogno del singleton, ne del borg. Li abbiamo gia'.
> 
> Non che mi sia mai servito ma perché dovremmo evitare Borg?

La domanda dovrebbe essere esattamente invertita: perche' dovremmo
usarlo, invece di preferire le classi e gli static methods?

- --
efphe
Today is Boomtime, the 14th day of Discord in the YOLD 3173
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD4DBQFGCwQGi7obm7aBjHcRAhwGAJj/t32oecJOOMwntlYIqloHEioIAJsEkzKc
CHMU3X+ALVlQDm2+zx3eZg==
=y0RP
-----END PGP SIGNATURE-----


Maggiori informazioni sulla lista Python