5 ms·
Nothing is stopping you from generating JavaScript code to do what you want. You don't need reflection to do that. I'd hate to see Python become as popular as
by hungerstrike 8y ago
Nothing is stopping you from generating JavaScript code to do what you want. You don't need reflection to do that.
I'd hate to see Python become as popular as JavaScript and to have it be used as the defacto standard in browsers because honestly, it's nowhere near as enjoyable to use as JS.
- StavrosK 8y agoNo, Python is much more enjoyable than JS (see what happens when you turn subjective statements into objective ones?). It feels to me like JS is more for people who want to write "clever" code and Python is for people who want to write boring, more maintainable code. It doesn't help that JS has a gentler learning curve and attracts more people who just want to get things done without thinking whether those things should be done that way.
- hungerstrike 8y agoJavaScript is more enjoyable than Python to me. You can’t really say no to that. IMO JavaScript is for people who want to get things done quickly and efficiently and have their program work everywhere. Python is for people who like to think they are doing things “the right way” as if there were such a thing.
- StavrosK 8y ago> JavaScript is more enjoyable than Python to me. You can’t really say no to that. Indeed I can't. I can say no to "JS is more enjoyable than Python", which is what you said in your upstream comment. > JavaScript is for people who want to get things done quickly and efficiently and have their program work everywhere If by "everywhere" you mean "in a browser", sure. I don't see how that's related to the common definition of "everywhere", though. > Python is for people who like to think they are doing things “the right way” as if there were such a thing. I don't know what you mean by that.