[Numpy-discussion] Numeric3
konrad.hinsen at laposte.net
konrad.hinsen at laposte.net
Tue Feb 8 03:37:28 EST 2005
On 07.02.2005, at 20:40, konrad.hinsen at laposte.net wrote:
> There is also a glaring hole in the OO approach in that there is no
> way to add functionality (methods) to an existing object. The only
> solution is subclassing, but then all object creators need to be
> changed to those for the subclass, which is not practical. Unlike
> other OO languages, Python makes it possible to add methods to
> existing classes, but this always looks like a bad hack.
There is something I forgot to mention in this context:
http://www.python.org/peps/pep-0246.html
If adopted, this would be a big step forward in my opinion.
Konrad.
--
------------------------------------------------------------------------
-------
Konrad Hinsen
Laboratoire Leon Brillouin, CEA Saclay,
91191 Gif-sur-Yvette Cedex, France
Tel.: +33-1 69 08 79 25
Fax: +33-1 69 08 82 61
E-Mail: khinsen at cea.fr
------------------------------------------------------------------------
-------
More information about the NumPy-Discussion
mailing list