Could Python supplant Java?

laotseu bdesth at nospam.free.fr
Thu Aug 22 12:54:25 EDT 2002


Nicola Musatti wrote:
> 
[snip]
> 
> 
>>So what if it's a mock file object that can be .read() but
>>not written?  If the function using it doesn't use .write() then the
>>special object will work just fine.  A compiler would tell me that
>>code is wrong, but it would be lying and preventing me from doing my
>>job efficiently...
> 
> 
> It depends. This is very similar to what I achieve by combining
> templates and overloading.
> 

But it costs you more work !-)

> When all's said and done, I'm convinced that static typing and dynamic
> typing have both strengths and weaknesses that proficient programmers
> exploit. What I'm not convinced of is that dynamically typed languages
> are better than statically typed ones in all respects.

What I'm not convinced of is that statically types languages are better 
than dynamicaly typed ones in all respect !-)


Laotseu





More information about the Python-list mailing list