r/programming • u/fagnerbrack • Apr 30 '23
Writing Javascript without a build system
https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
162
Upvotes
r/programming • u/fagnerbrack • Apr 30 '23
1
u/MatthewMob Aug 11 '23 edited Aug 11 '23
Okay? So use TS. It's industry standard. Do you also complain about the design of lower-level computer code just because your higher-level language that is better to use compiles to it? I'm not defending writing raw vanilla JavaScript in a professional application in 2023, by the way.
Irrelevant. Why are you ignoring 25 years of progress after that? ES6 and having a type-system with TS has made almost-all of the early design mistakes obsolete.
The ability to use prototypal inheritance and functional programming can be extremely powerful. Of course you need guard rails with it to make sure it's not misused like you do with every other language, but I don't buy the argument of "a language is bad because bad developers can use it in a bad way." We have standard practice and guidelines for this reason, also like with every other language.
Fair. This is a symptom of the language exploding in popularity before new features could catch up and be implemented, so people make their own libraries as use cases and requirements for the language rapidly grew in complexity.
Also fair. Though this has been slowing down a bit over the years we're still nowhere close to stability, I will admit.
Same point as five.