3 ms·
Those things are indeed nice, but they can't defend against the other insanities that come in the box with them.
by ldh 13y ago
Those things are indeed nice, but they can't defend against the other insanities that come in the box with them.
- gcr 13y agoOnly a subset of Javascript is useful, just like how only a subset of C++ is useful, just like how only a subset of Objective-C is useful, just like how only a subset of Haskell is useful, ...
- yen223 13y agoWasn't there a saying: "90% of everything is crap"?
- coldtea 13y agoAll languages have crap. C? Buffer overflows, manual memory management, header files, severely lacking standard libraries, crap support for most modern idioms, etc etc. C++? Tons of edge cases, template madness, unbelievable large language spec, etc etc. Python? Python 2 - 3 dichotomy, crappy concurrency / parallelism support, , strict on whitespace, standard libs in various stages of cruft and abandonment, no proper closures, CPU bound for lots of interesting problems necessitating bilingual development with C extensions or the use of hacks such as Cython etc. You can find a similar list for everything, from Lisp to Haskell. Javascript "insanities" are no big deal. People have been creating large apps (including porting stuff like THE WHOLE BLOODY QT TOOLKIT to it) in it with no problems. Once you know them, you can work around them. A huge install base, huge number of programmers, easy syntax, powering the internet, lispy-flexibility, and the fastest interpreters this side of the JVM are enough benefits to counter some crappy coercion rules and FP only math bizarreness.
- pi18n 13y agoI think this comment would have been better if you had listed some insanities that make Javascript unusable. It doesn't seem objective at the moment. I, for one, honestly cannot think of what you might be referring to, but I only have a passing knowledge of Javascript so I cannot really decide if you are the GP have made the better point.