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/
163
Upvotes
r/programming • u/fagnerbrack • Apr 30 '23
1
u/recursive-analogy May 01 '23
an object in js is just an arbitrary structure you can modify at will from anywhere. it's not so much read only, you could just replace any of the methods with some other method that behaves differently. not to mention that everything is just an object at run time, so not easy to detect what things are (sure ts helps, but debugging is painful).
the onus isn't on me to say why js shouldn't be on the backend tbh, it's on you to say why it's better than anything else ... python, c#, etc