4 ms·
You should perhaps focus on adding value to the discussion, than going on about people you hardly know anything about. JS and Python offer comparable expressiv
by jeswin 14y ago
You should perhaps focus on adding value to the discussion, than going on about people you hardly know anything about.
JS and Python offer comparable expressiveness for most programming tasks: basic imperative language features, first class functions, closures etc. If you miss list comprehensions, a better syntax for lambdas or classes, go ahead and use the favorite JS shorthand - coffeescript. It _really_ is JS. Even if you don't use coffee, having first class functions would let you write some of those missing features in a library (albeit with a slightly clunkier syntax).
Sure there are nuances, like scoping rules. On the plus side, having a single programming language on the server and client saves some time. Also, most of the libraries being async in nature helps in typical I/O heavy apps.
I draw these inferences from a medium sized JS project I have going on at http://www.poe3.com http://www.poe3.com (source: https://github.com/jeswin/poetry-source https://github.com/jeswin/poetry-source). I am fairly convinced that JS did save me a lot of time. Interested in seeing how you came to your conclusions.