3 ms·
So the author wants to use Javascript more for hacky stuff rather than a proper set of conventions?
by ragecore 12y ago
So the author wants to use Javascript more for hacky stuff rather than a proper set of conventions?
- crdoconnor 12y agoIt is kind of a hacky language. Weakly typed, inconsistent runtimes and all that. Server side code in strongly typed languages is generally more predictable.
- pswilson14 12y agoJavaScript is only unpredictable if written by a poor developer. It's just a language, and it is as powerful as you are. Weakly typed languages are not hacky - merely different.
- crdoconnor 12y agoWeak typing is fine, and even beneficial for small scripts - what javascript was originally meant for. It does not scale though. It leads to large projects becoming unpredictable, unwieldy and mired in technical debt.
- colin_jack 12y agoYeah the lack of any successful JS rich Web apps proves this point. Wait, what....
- crdoconnor 12y agoA poor programming language does not entirely preclude the possibility of a successful app, it just makes it a lot more difficult to release a stable one. For companies that can throw huge resources at their apps (e.g. google) the language deficiencies do not matter as much because they can be dealt with with extra work and testing.
- pluma 12y ago*dynamically typed. Unless you really mean weakly typed (e.g. "1" + 2 = "12" vs "1" + 2 raises TypeError). In which case I'd say that that's one of JavaScript's (pardon the pun) weaker points. Disclosure: I like JS. Its weak typing can still be annoying (although you can avoid a lot of it by using strict comparisons).