4 ms·
Typescript is the best thing to happen to JavaScript since ES6
by klysm 2y ago
Typescript is the best thing to happen to JavaScript since ES6
- BigJono 2y ago[flagged]
- 7bit 2y agoTypes are great, but I prefer Not having to transpile everything. Stepping throught the TS Code with a Debugger ist non trivial.
- nolist_policy 2y agoYou can use 90% of typescript from pure JavaScript: https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html https://www.typescriptlang.org/docs/handbook/jsdoc-supported...
- mightyham 2y agoI'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.
- klysm 2y agoSource maps solve this, it’s not a problem in practice
- dingi 2y agoIf only it had a sound type system.
- klysm 2y agoHasn’t caused me any practical problems
- mardifoufs 2y agoIt has a very good type system, imo better than most "natively" typed languages.
- ericmcer 2y agoYeah 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.
- klysm 2y agoTypescript doesn’t tell the JS runtime anything about what it knows