Hacker News new | ask | show | jobs
by pragmatic 1361 days ago
You can't blame TS for JavaScript.

It's mashing things better by making lib authors like about their API.

jQuery typing showed what a shitty api it actually was. You had no idea what you'd get back f on a call, one element, an array, what type of element.

It made it impossible to build reliable software and why everyone hates jQuery now.

So many early projects had "magic" APIs to save you a few characters or lines of code, only to become a maintenance nightmares because without the docs (or TRYING to analyze source) you had no idea what it did or how.