Monday, November 24, 2008

I hate python - part deux

Did you know Python doesn't support these common C++ features?

* Passing variable references to methods (I know, you should return a list so that's not necessary, but what if I pass a reference to a function (you know, like, for a callback)?

* Static class methods. You have to emulate that behavior by using some weird wrapper. And you call yourself an OOP language?

* Static function variables. No, you have to use something called generator functions. WTF?

No comments: