In this episode, our conversation is focused on TypeScript, how it differs from JavaScript and how you can get started today coding it with my guest Jeffrey Parrish, a web applications developer who’s been creating web apps in JavaScript, NodeJS and TypeScript since 2006.
Questions Asked
- Tell us about your background
- Do you consider yourself a full stack developer?
- What do you enjoy the most, front end or back end development?
- What front end framework are you using?
- Does React, Angular and Vue support Typescript?
- Define TypeScript for us.
- What is a transpiler and how is it different than a compiler?
- How do transpilers work?
- What are the main differences between TypeScript and JavaScript?
- Why does TypeScript exist?
- Tell us about Intellisense and TypeScript.
- What's the biggest benefit to using TypeScript?
- Which IDEs support TypeScript?
- Is there a trend of frameworks moving into TypeScript support?
- Why is typing an important feature to have in JavaScript?
- Does TypeScript help developers write code with less bugs?
- Give us an example of typing error in TypeScript.
- What is the "any" type in TypeScript?
- Why does TypeScript offer the "any" type?
- What is the "unknown" type?
- What are type guards and how do you implement them?
- What are some of the disadvantages of TypeScript?
- What kind of things can you configure in a TypeScript configuration file?
- Can you configure TypeScript to not accept the "any" type?
- How do you configure TypeScript for both front end and back end development?
- How can we get started with TypeScript?
- What are components in TypeScript?
- What are user defined types in TypeScript?
- What are built in types in TypeScript?
- What are mutation types?
- Can you take a Javascript project and convert it into TypeScript?
- How are variables created in TypeScript?
- Is the best practice to strictly type a variable in TypeScript?
- How are class modules different from components?
- How is scope handled across modules and classes?
- What are access modifiers?
- What are generics?
- What's the future of TypeScript holds in your opinion?
- What would you like to see removed in future versions of TypeScript?
Reference Links
- Jeffrey’s Website (http://jeffreyparrish.net/)
- NPM (https://www.npmjs.com/)
- TypeScript (https://www.typescriptlang.org/)
- RedMonk Index (https://redmonk.com/sogrady/2020/07/27/language-rankings-6-20/)