Starting out with TypeScript
Why am I learning TypeScript?
Google Scripts Platform
So after writing C# for around 20 years, why did I want to learn TypeScript?
- Build and share some nifty GCP utilities
- Build a static website with Next.js
- Build a static website with Gatsby
I heard about TypeScript a long time ago, but that was people complaining about how hard it was. But in recent times, that sentiment has changed and developers want to work with TypeScript.
I would recommend going through the handbook from end to end to grasp the concepts and the differences from other languages such as C#. Variable scoping and function overloading were a few things that I learnt along the way that were completely different from other programming languages I have used.
TypeScript in Practice
Once set up properly, the intellisense in an IDE (Integrated Development Environment) like Visual Studio Code makes writing and compiling TypeScript a breeze. In addition, using a unit testing framework such as Jest makes your code so much more robust.
You will also see some weird errors/issues (and my fixes to those) as I encounter them.
Wish me luck and let's see how I go!