Hacker News new | past | comments | ask | show | jobs | submit login

Typescript is the best thing to happen to JavaScript since ES6



Types are great, but I prefer Not having to transpile everything. Stepping throught the TS Code with a Debugger ist non trivial.


You can use 90% of typescript from pure JavaScript: https://www.typescriptlang.org/docs/handbook/jsdoc-supported...


I'm not sure what setup you have, but debugging TS code is pretty trivial. I use vite for all my projects at work and when running the dev server there is seamless integrations with the debugging dev panel in Chrome or Firefox.


Source maps solve this, it’s not a problem in practice


If only it had a sound type system.


It has a very good type system, imo better than most "natively" typed languages.


Hasn’t caused me any practical problems


Yeah I was almost gonna say it makes this proposal feel redundant. I can enforce object shape pretty well using TS, not sure why we need another OOP like thing that tries to do the same.


Typescript doesn’t tell the JS runtime anything about what it knows




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: