![]() | Easy to introduce intricate bugs?
| ||||
![]() | No, extensive consistency checks at run time replace the need for strong typing and compile-time checks | ||||
![]() | Example: sending a string to the sine function, math.sin('t'), triggers a run-time error (type incompatibility) | ||||
![]() | Example: try to open a non-existing file
./datatrans1.py qqq someoutfile Traceback (most recent call last): File "./datatrans1.py", line 12, in ? ifile = open( infilename, 'r') IOError:[Errno 2] No such file or directory:'qqq' |