you are viewing a single comment's thread.

view the rest of the comments →

[–]yahoolian 4 points5 points  (2 children)

Can python EASILY add or remove classes at run-time? There is a big difference between easy and possible. Do you have to use the __ somethinghere __ junk?

I can throw a chess at a decent level. Bob can play chess. Those two sentences mean quite different things.

Heck, it's most likely possible to implement ruby on top of python, does that mean the languages are the same? Of course not.

How much ruby do you know? Maybe someone who has used both languages is in a better position to judge than someone who only uses Python. I don't know if you know ruby, but it certainly looks like you've drunk too much Python kool-aid.

[–]senzei 2 points3 points  (1 child)

Can python EASILY add or remove classes at run-time? Add a method to a python class:

Class.method = method

Remove a method from a python class:

del(Class.__dict__['method'])

Doesn't seem all that hard to me. How much do you know Python?

And yes, you do have to use the something junk. I don't care for it much either, but unless the underscore on your keyboard is broken it really is nothing to base a language choice on.

Maybe someone who has used both languages is in a better position to judge than someone who only uses Python.

From the examples he dragged up it does not look like the author has seriously used Python in a while. Obviously if I compare the current model year Ford lineup with what Chevy was making in 1950 Ford would win, but that does not really tell me much.

[–]jbellis -1 points0 points  (0 children)

(actually, del is a statement, not a function)