4 ms·
This has been my experience. I've used it on a handful of projects over the last few years and while there have been some benefits it has definitely decreased p
by ajhurliman 6y ago
This has been my experience. I've used it on a handful of projects over the last few years and while there have been some benefits it has definitely decreased productivity. I can't say that the TypeScript that I've written has been any more bug-free that the regular JavaScript I've written (or my team mates).
- eitland 6y ago> I can't say that the TypeScript that I've written has been any more bug-free that the regular JavaScript I've written (or my team mates). Probably just means you are smart and good at testing at some level ;-) For me the biggest benefit of TypeScript is probably when I debug or extend other peoples code (i.e. all the time) and I don't have to hunt down calling functions to see what gets passed in. I mostly work on large projects written by other people over the course of years and often this simple thing can save me several minutes several times a day.
- ajhurliman 6y agoYeah, that's definitely handy, or the ability to right click on something and click "Go to definition" to jump right to it. I'm not saying it's worthless, but all of the legwork to get that to work isn't worth it to me.
- eitland 6y agoJust works out of the box with Angular 2 and above and for React "Create React Application" has you covered. I even thknk there's something for Vue.
- mdgrech23 6y agopreach