Content deleted Content added
No edit summary |
strongly typed? |
||
Line 15:
I do not think Python is 'strongly influenced' by Perl. In fact the design philosophy is diametrically opposite in some senses.[[talk:pasokan|pasokan]]
:Let's see -- Python's an interpreted/bytecode-compiled language, with mixed type arrays, garbage collection, hashes/dicts as a basic type, a big standard library with support for Unix calls ... it has a lot in common with Perl. A large portion of the Python user base are "converts" from Perl. Python also ''self-consciously eschews'' Perl-like syntax, which is a different way of being "influenced" by Perl! --[[User:Fubar Obfusco|FOo]]
--------
I'm not sure if we should say that Python is strongly typed. It provides a lot of implicit conversions (eg, between numeric types, between string types) and makes common use of functions accepting any one of a group of related types (any sequence, or any 'file-like object'). It doesn't make it easy to derive a new type from an old one without making it compatible (eg, you can't easily make a new integer type which isn't comparable with the standard Integer). [[User:Matthew Woodcraft|Matthew Woodcraft]]
|