Joshua Ifeoluwapo Adelegan’s Post

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

  • No alternative text description for this image

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.🤓

Like
Reply

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 😉

Like
Reply

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.

Like
Reply
See more comments

To view or add a comment, sign in

Explore content categories