Favorite non-python language trick?
d at e.f
Fri Jun 24 22:53:56 CEST 2005
Terry Reedy wrote:
> "Tom Anderson" <twic at urchin.earth.li> wrote in message
> news:Pine.LNX.4.62.0506241625460.14603 at urchin.earth.li...
>>sometimes in python. No, it's not really possible in a typeless language,
>>and yes, there are implementations based on decorators, but frankly,
> Python has strongly typed objects. Only names are typeless.
Again, you are splitting hairs. His point still stands that it is not
possible to do method overloading in python (unless you use decorator
hacks). It may be possible to add this feature when type declarations
and type checking are added to a future version of python.
More information about the Python-list