Typescript Mini Reference: A Quick Guide to the Typescript Programming Language for Busy Coders: 4КНИГИ » ПРОГРАММИНГ
Название: Typescript Mini Reference: A Quick Guide to the Typescript Programming Language for Busy Coders: 4 Автор: Harry Yoon Издательство: Coding Books Press Год: 2023 Страниц: 195 Язык: английский Формат: pdf, epub (true), mobi Размер: 10.2 MB
Typescript is a better javascript, It is a statically typed, safe programming language, which uses more or less the same syntax as javascript. Typescript programs are compiled to javascript, and they can be run anywhere javascript is supported. It is widely used by professional javascript developers, for frontend development (e.g., Angular, React, and VueJS) as well as for backend development (e.g., Node.Js and Deno).
This book is a "mini" language reference on the Typescript programming language. We go through all essential features of Typescript (as of versions 4.8 and 4.9), and some new ECMAScript features, in this book.
Although it is written as a reference, however, you can read it more or less from beginning to end and you should be able to get the overall picture of the Typescript language if you have some prior experience with programming in Typescript or modern javascript (ES2015 and later).
Typescript’s marketing slogan, in the early days, used to be TypeScript is a superset of javascript. This phrase, when interpreted literally, does not mean very much. For one thing, a programming language is not a mathematical set, and hence one programming language cannot be a superset of another. Regardless, Typescript uses the same or similar javascript syntax in many parts of its grammar, including (almost) all statements and expressions.
Typescript’s extension over javascript is primarily limited to types. javascript is a dynamically and loosely typed language. It has pros and cons. For small projects, or for quick prototyping, dynamic languages like javascript or Python can be extremely convenient. On the other hand, when you work on bigger and longer-term projects, using statically typed languages tends to be increasingly more advantageous.
Typescript’s new slogan is TypeScript is javascript with syntax for types. And, it emphasizes the tooling aspect of the programming language, at any scale. Typescript is widely used with many javascript application frameworks such as Angular, React, and Vuejs, which are primarily intended for building large-scale javascript apps. In fact, Typescript got a big break, as a new language, when the Angular team adopted Typescript as their default programming language for Angular version 2.0 (and, onward). As the saying goes, the rest is history. As of this writing (January 2023), React Native, another javascript-based hybrid mobile app development framework, also adopted Typescript as their primary language.
The book covers:
Typescript development basics. ES module system. Basic JS/TS types. Type annotations. Variable declarations. Type inference. Algebraic data types. Generics. Objects. Classes. Function types. Arrow functions. How to create new types from existing types.
Скачать Typescript Mini Reference: A Quick Guide to the Typescript Programming Language for Busy Coders: 4
Essential TypeScript: From Beginner to Pro Название: Essential TypeScript: From Beginner to Pro Автор: Adam Freeman Издательство: Apress Год: 2019 Формат: True PDF/epub Страниц: 546 Размер:...
TypeScript for C# Programmers Название: TypeScript for C# Programmers by Steve Fenton Автор: Steve Fenton Издательство: InfoQ ISBN: 1291576215 Год: 2013 Страниц: 68 Язык:...