- 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.
推薦閱讀
- Python快樂編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- Visual Studio 2012 Cookbook
- PowerCLI Cookbook
- Magento 2 Theme Design(Second Edition)
- VMware vSphere 6.7虛擬化架構(gòu)實戰(zhàn)指南
- Learning ArcGIS Pro
- GameMaker Programming By Example
- Nginx Lua開發(fā)實戰(zhàn)
- 領(lǐng)域驅(qū)動設(shè)計:軟件核心復(fù)雜性應(yīng)對之道(修訂版)
- Mastering Python Design Patterns
- CRYENGINE Game Development Blueprints
- Visual Basic 程序設(shè)計實踐教程
- Java 7 Concurrency Cookbook
- Python深度學(xué)習(xí)與項目實戰(zhàn)
- C語言從入門到精通(微視頻精編版)