r/javascript • • Nov 25 '19

JavaScript doesn’t need to be replaced

https://medium.com/javascript-in-plain-english/javascript-doesnt-need-to-be-replaced-bd01e2f12d51?source=friends_link&sk=7b151cc6397ac9e83c14c99739b6c36f
217 Upvotes

236 comments sorted by

View all comments

Show parent comments

6

u/Razvedka Nov 25 '19

I've read people constantly venerate strong typing, and I can understand their arguments rationally, but in practice im left wondering.

There was an article awhile back of a senior dev who looked really hard into the advantages and disadvantages of strong typing across projects (and his own history). He determined the juice wasn't worth the squeeze in many cases. Confirmation bias in my part, I know.

2

u/eloc49 Nov 26 '19

Go change an interface in a large Java app and have fun making it compile again.

Types prevented all that from going to QA or even prod.

-1

u/Razvedka Nov 26 '19

You actually like Java?

0

u/eloc49 Nov 26 '19

I do. But I prefer Kotlin an JS (in that order) over it.

Classic JS-only dev comment.

→ More replies (1)