?

Log in

No account? Create an account

November 26th, 2012

Evil!

Python is an evil programming language. I have moved it below C++ in my esteem, and in fact it is well below C++. I was fooled early on and thought the language pleasant, but now the more I use Python the more I detest it.

I’m not sure if it’s even better than ancient BASIC. You can do a lot more in it, but I don’t even have a clue how to be certain that Python code is correct. There are just too many ways in which data types get converted back and forth implicitly; moreover, type checking almost always has to be done at run time, and can be endlessly complex if it is to be complete.

Part of the problem is that the language is one of those that tries to be 100% ‘object oriented’. Classes and objects are among the most complicated and treacherous data structures available, and every single type in Python, even a lowly integer, is a class or object, and not trivially so. The abuse of ‘object-orientation’ is extreme; an obvious example is how printf-like formatting is an inherent behavior of an ordinary character string. This is insane.

Latest Month

June 2016
S M T W T F S
   1234
567891011
12131415161718
19202122232425
2627282930