I used to avoid TypeScript. "It slows me down," I said. "I know what type this is," I said. Then I spent 3 hours debugging a production bug that TypeScript would have caught in 3 seconds. Now I don't start a project without it. The friction at the start saves you from the chaos at the end. TypeScript or JavaScript — what do you reach for first? #TypeScript #FrontendDev #ReactDeveloper #WebDevelopment #JavaScript #SoftwareEngineering #TechLessons
Did you debug for 3 hours wrong type of function params passed from your own code? If so I have a bad news for you 😉
Totally fair. TypeScript helps, but over-engineered types can become their own problem. I am trying to make it simple since sometimes types can be harder to read than the actual code itself.
Well said
I don’t think TypeScript is as complex as it might seem initially. It’s more about stepping out of the comfort zone. Once you get familiar with it, it actually improves code quality and makes development more predictable.🤓