| Store | Cart

OT(Slightly): Thanks to Python.

From: JanC <usen...@janc.invalid>
Tue, 09 Mar 2004 21:25:56 GMT
Jacek Generowicz <jacek.generowicz at cern.ch> schreef:

> - Note that item is bound to objects of completely different types>   (integer, string, list, hash-table and array, in this case) at>   different times. (This _does_ mean that it's dynamically typed.)

Yes, but 2 of the "method versions" use statically typed parameters.
So it seems this is a language that gives you the choice between dynamic 
and static typing.

Without this (optional) static typing in the language, there is no way to 
have these method versions for different parameter types.  I suppose that's 
what John Roth was thinking about when he said "but there's no way it's 
going to happen in a language that doesn't have static typing".


> Perhaps you thought that it doesn't look like dynamic typing because> of superficial similarities with C++ method overloading:

I don't know C++ (well almost no C++), so I don't think so.  ;-)

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9

Recent Messages in this Thread
Adonis Mar 04, 2004 02:11 am
Ben Finney Mar 04, 2004 03:33 am
Aahz Mar 04, 2004 04:25 am
David M. Cook Mar 04, 2004 02:57 pm
Ville Vainio Mar 04, 2004 03:29 pm
John Roth Mar 04, 2004 04:37 pm
Michael Hudson Mar 04, 2004 07:40 pm
Christopher Koppler Mar 05, 2004 09:03 am
Jacek Generowicz Mar 05, 2004 09:43 am
JanC Mar 05, 2004 05:16 pm
Jacek Generowicz Mar 08, 2004 09:24 am
JanC Mar 09, 2004 09:25 pm
Michael Hudson Mar 10, 2004 11:47 am
Jacek Generowicz Mar 10, 2004 03:03 pm
JanC Mar 13, 2004 05:24 am
Josiah Carlson Mar 13, 2004 07:17 am
Ville Vainio Mar 13, 2004 09:08 am
Ville Vainio Mar 13, 2004 09:17 am
David M. Cook Mar 05, 2004 06:32 am
David M. Wilson Mar 10, 2004 08:34 pm
Bob Ippolito Mar 04, 2004 11:51 pm
Capt...@altel.net Mar 04, 2004 03:34 am
Aahz Mar 10, 2004 10:48 pm
Messages in this thread