Many good points
Many good points
Posted Nov 4, 2007 3:24 UTC (Sun) by drag (guest, #31333)In reply to: Many good points by aquasync
Parent article: Daniel Bernstein: ten years of qmail security
Well ya. But isn't that example of 'dynamicly typed'? I mean python can do that, no problem and I suppose pretty much all dynamicly typed languages do that also (ie visual basic and perl) (but also python is strongly typed.. meaning that you can just use a string as a int and visa versa (unlike VB, for example0) $ python Python 2.4.4 (#2, Aug 16 2007, 02:03:40) [GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> type(10) <type 'int'> >>> type(10 * 100) <type 'int'> >>> type(10 ** 100) <type 'long'> >>> type(10.0 ** 100) <type 'float'> so on and so forth. But if you go... >>> type(10.0 ** 1000) Traceback (most recent call last): File "<stdin>", line 1, in ? OverflowError: (34, 'Numerical result out of range')
