r/javascript • • Dec 14 '22

JavaScript is the Most Demanded Programming Language in 2022, 1 out of 3 dev jobs require JavaScript knowledge.

https://www.devjobsscanner.com/blog/top-8-most-demanded-languages-in-2022/
481 Upvotes

78 comments sorted by

View all comments

Show parent comments

2

u/MerfAvenger Dec 15 '22

You definitely do, but it's substantially easier to validate your data when most of the failure modes have been made substantially more rare by Typescript.

1

u/novagenesis Dec 15 '22

Of course, but non-DRY typechecking could mean that your build-time (or lint-time) passes/fails are lying because of subtle differences with the runtime checks.

And that can sometimes make it through automated tests and (worst case) leave potential security exploits.

NO checking is technically better than incorrect checking. But as I said, zod changes that equation.