An unofficial, read-only Hacker News reader. Join the beta →

2035 came early (opens external site)

1035 points by setheron 4 days ago | fzakaria.com | 382 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. But you gotta admit that nobody sane would design the current state of writing and compiling TS being required as an intermediate step to producing reasonably correct JS? The sole reason TS exists is because of the flaws inherent in JS’ original purpose and design. Not to mention all the random completely insane footguns (eqeqeq etc.) and the whole community issue (npm everything).

    Actually Python has a similar problem in that there’s a cottage industry of solutions to make it behave more like a fundamentally different language (dataclasses, attrs, mypy, pydantic, fastapi, etc.) because it turns out what people like about python was its simple and expressive syntax rather than its fundamental design.