News for hackers. Stuff that matters.
Re:Is TypeScript actually worth It? by theshrike79 on Friday January 13, 2023 @04:32AM (#34365660)
Eeexactly.

Untyped Python and Javascript are amazing if you're doing things solo or maybe with one other person who has the same style.

Now try that with a 20 person group poking the same codebase. The amount of weird bugs you run into because it's not clear what type(s) a function can take in or return is bonkers.

Re:Is TypeScript actually worth It? by smt88 on Friday January 13, 2023 @09:31AM (#34368203)
Types are indispensable even just for me. They reduce how much I have to jump over to the docs and how much runtime debugging I do.

Most importantly, they help when I revisit something after even a few weeks and forget what certain parts of the code did.