Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TypeScript and C# are both great languages from Anders Hejlsberg. The Danish know how to design a language, C# developer was Mads Torgersen. Microsoft employs them so they want it used more and people like it.

Fun fact: Anders Hejlsberg also designed Turbo Pascal, Delphi which were huge in their day.

I agree though, JS needs to just run in the browser. All the tooling is really a leaky abstraction or unnecessary guts that get in the way. Rant: Webpack is an abomination to anything simple and clear, many dev hours are lost on it.

I still think if ES4 hadn't been cancelled for ES5 we'd be in a better place. It had amazing typing, event handling and was very clear, essentially looked like TypeScript. Browsers could have easily supported ES3 and ES4, we'd have a more solid browser "just works" setup.



Good points.

> Webpack is an abomination to anything simple and clear, many dev hours are lost on it.

Check out Vite. It's basically Webpack with sensible defaults. Still the same bundling paradigm but it's been so much easier for me to use. Also way way easier to add plugins in Vite.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: