Hacker News new | past | comments | ask | show | jobs | submit
Same things over and over. Same things people were telling about BASIC and Visual Basic 30 years ago; same things people were saying about PHP 20 years ago. No offence, but hating a programming language and let that affect your work, is like shooting your foot. The Javascript "problem" has long been solved and fixed by TypeScript; I see JavaScript as a low level product of compiled TypeScript and TypeScript is a solid and very powerfull language.

But I can understand you, because I hate Python; I believe Python should be a dead language by 2026 but Google and Data Scientist brought to back to life for math and AI research. I still let AI agents write small Python scripts when they need to; sometimes I tell them to re-write in other languages; sometimes I leave it there and I continue with my life.

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.