![]() This is my story about How (Not) to Learn TypeScript. I started and stopped multiple times, got caught in tutorial hell, and enlisted others to learn and struggle with me. It took me three tries and nearly one year to learn TypeScript. ![]() At the least, I hope you can read my story and have a good chuckle at my bumbling around in TypeScript land. The purpose of this article is to get you past mere motivation, and instead help you form a plan to learn TypeScript. If you are reading this I’m going to assume you’ve at least thought about learning TypeScript, and most likely have made an attempt or two yourself. That being said, this article is not meant to convince you or motivate you to learn TypeScript. This is powerful because it helps avoid a ton of low-hanging bugs (such as trying to access an object’s property that doesn’t exist), as well as document your code as you write it. This allows you to tell your program and other programmers exactly what type of arguments your functions and classes can accept and return, such as strings, numbers, arrays, objects, etc. Per the documentation, “TypeScript is JavaScript with syntax for types”. TypeScript is a superset of JavaScript, meaning it is built on top of JavaScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |