3 ms·
It's not that at all. I use JS almost daily and the unfortunate conclusion is that it's just poorly designed. The data structures are lacking and have bizarre
by blub 14y ago
It's not that at all. I use JS almost daily and the unfortunate conclusion is that it's just poorly designed.
The data structures are lacking and have bizarre corner cases. I don't know if what it features as OO can be called OO and I don't care much, but the abstraction mechanisms are inferior to what I'm used to. Performance is unpredictable and sometimes I'm forced to write less readable code.
Refactoring is a scary adventure, debugging is subpar, code navigation is cumbersome..
The things that I do like about it are availability and that it's cross-platform.
- smacktoward 14y agoRe "poorly designed", in fairness, its original designer (Brendan Eich) had to put the whole language together by himself in ten days under a mandate from his overlords at Netscape corporate that he make it look kind of like Java while not looking too much like Java (see http://www.computer.org/csdl/mags/co/2012/02/mco2012020007.html http://www.computer.org/csdl/mags/co/2012/02/mco2012020007.h..., http://www.jwz.org/blog/2010/10/every-day-i-learn-something-new-and-stupid/#comment-1021 http://www.jwz.org/blog/2010/10/every-day-i-learn-something-...). Given those circumstances, the amazing thing is that JavaScript has held up as well as it has.