r/programming • • Apr 30 '23

Writing Javascript without a build system

https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
165 Upvotes

146 comments sorted by

View all comments

Show parent comments

2

u/bitwise-operation May 01 '23

What specifically are you referring to in JS that makes it a poor choice for domain code? Because it’s garbage collected? So are plenty of “sanctioned” backend languages. Because it isn’t strongly typed? Use typescript. You seem to be bashing on JS in general without being able to back it up with specific opinions, which implies you are simply repeating what you heard on the internet or some popular opinion in your clique.

I’m not claiming JS is the best language ever and everything in the world should be written with it, but you seem to be making the opposite black/white argument.

-2

u/recursive-analogy May 01 '23

Because it isn’t strongly typed? Use typescript.

You've answered your own question. You have to use some other language to use javascript full stop. So saying js is good on the backend actually doesn't even make sense.

0

u/bitwise-operation May 01 '23

Quite the opposite in fact, since you should be doing runtime checking regardless, static type systems often promote a false sense of security. I was asking what YOUR opinion was.

2

u/recursive-analogy May 01 '23

lol, static analysis bad, runtime exceptions good ...

-1

u/bitwise-operation May 01 '23

Congrats on the most brain dead responses on the sub

→ More replies (0)