Overcoming discomfort with TypeScript and learning by problem-solving

I used to not like TypeScript because I am not comfortable with the typing syntax. But now, every single line of code I write in JavaScript reminds me of the essence of TypeScript. TypeScript doesn't just add type checking to JavaScript, but it helps you not to be guessing and thinking about the type of program inputs or outputs. I just need to get comfortable with the typing shenanigans of TypeScript. A tutor once used the package, express-async-handler, in an Express.js course, and I could effectively use it because I have been hit with the problems it solves countless times. Anytime I read about OOP design patterns, I feel numb, and that's because I haven't been hit with the problems those design patterns are solving. My point is that you can't effectively utilize the solution to a problem if you haven't encountered the problem.  When I create a course on programming, my model would be to expose learners to common problems before handing them the solutions. #ProblemSolving #Programming #Coding #JavaScript #TypeScript #OOP #DesignPattern

  • text

To view or add a comment, sign in

Explore content categories