3 ms·
I adopted typescript shortly after it’s release and went through growing pains in the first couple years. I don’t use it often now. And it ALWAYS comes back to
by ct520 6y ago
I adopted typescript shortly after it’s release and went through growing pains in the first couple years. I don’t use it often now. And it ALWAYS comes back to bite me in the butt when doing any decent sized project. If I had to guess time spent fixing things that would have been caught out weights the cons of using typescript
- tnorthcutt 6y agoForgive me, but I’m having trouble parsing this. Are you saying you recommend using Typescript, or not? If yes, why do you not use it often now?
- sk0g 6y agoSounds like they think time spent fighting the language outweighs any pros TS might have, and thus aren't recommending it. Edit: read it wrong, nevermind.
- deleted 6y ago[deleted]
- CreepGin 6y agoNo, he's saying the opposite (as in TS scales better with project size). > time spent fixing things that would have been caught [by Typescript] out weights the cons of using typescript
- ct520 6y agoCorrect. Most of my projects now and days are under 300hrs greenfield stuff. I do feel typescript can be a little more overhead to get started, once you have some well established patterns IMO its great for more enterprisey projects.
- mceachen 6y agoI read the exact opposite: that they regret not using typescript for non-trivial projects because tsc would have prevented dumb mistakes due to a lack of types.
- ct520 6y agoCorrect. Small project turns into a bigger project, I think I can get through some complicated piece and BAM. I'm fighting silly typing issues and writing tests for stuff I would never have to do if I used typescript. While majority of my stuff is not that complicated, it seems there is always something. I also wear a bunch of hats. So retaining all the new knowledge gets a bit hard. Sometimes its easier for me to fall back to patterns I used over the past 20 years of full stack development. If I had the time I would use typescript everywhere.
- ct520 6y agoI recommend it. I dont use it because I dont think I need it. I think mostly because I fall back into old patterns that are easier for me to do. I got burned a bit with original build system having to create all my interfaces etc.