Hacker News new | ask | show | jobs
by sdegutis 2860 days ago
I think that's because TS lets you see patterns in your data and code that were "invisible" in JS. You could still write clean code in JS, you just have to be able to see all that implicit structure. Spaghetti code is spaghetti code with or without types, it's just easier without types.
1 comments

That's totally true, but it's pretty much the point of a programming language - to enable and facilitate intelligent organization of logic.