- Learn React with TypeScript 3
- Carl Rippon
- 124字
- 2021-06-10 19:16:31
Understanding the benefits of TypeScript
When a JavaScript codebase grows, it can become hard to read and maintain. TypeScript is an extension of JavaScript, adding static types. The TypeScript compiler reads in TypeScript code that includes type information and produces clean, readable JavaScript with the type information transformed and removed. The compiled code can then run in our favorite browsers and Node.js.
TypeScript offers several benefits over JavaScript:
- Coding errors can be caught in the development process earlier
- Static types allow tools to be built that improve the developer experience and productivity
- JavaScript features that aren't implemented in all the browsers yet can actually be used in an app that targets those browsers
We'll go through these points in detail in the following sections.
推薦閱讀
- 企業級Java EE架構設計精深實踐
- Learning RabbitMQ
- C語言程序設計教程(第2版)
- MATLAB 2020 從入門到精通
- Apache Spark Graph Processing
- Java虛擬機字節碼:從入門到實戰
- Microsoft System Center Orchestrator 2012 R2 Essentials
- 重學Java設計模式
- Gradle for Android
- 網站構建技術
- FPGA Verilog開發實戰指南:基于Intel Cyclone IV(進階篇)
- 交互式程序設計(第2版)
- C語言從入門到精通
- 虛擬現實建模與編程(SketchUp+OSG開發技術)
- SQL Server實例教程(2008版)