3 ms·
So what is the best book (under 250 pages!) to learn TS?
by coffeeblack 4y ago
So what is the best book (under 250 pages!) to learn TS?
- cehrlich 4y agoIf you're comfortable with JS, you don't need a book to learn TS. There are two main resources I would recommend: - for those who prefer written content, the TypeScript Handbook [1] - for those who prefer video content, the first couple videos of Jack Herrington's No BS TS series [2] Other than that, just start using it. My main advice would be that your TS code should look as much like JS code as possible, ie don't explicitly type everything, just rely on inference where possible. Basic generics can be useful occasionally, but most of the "Type Challenge" type stuff is only really useful to library developers. [1] https://www.typescriptlang.org/docs/handbook/intro.html https://www.typescriptlang.org/docs/handbook/intro.html [2] https://www.youtube.com/watch?v=LKVHFHJsiO0&list=PLNqp92_EXZBJYFrpEzdO2EapvU0GOJ09n https://www.youtube.com/watch?v=LKVHFHJsiO0&list=PLNqp92_EXZ...
- b0afc375b5 4y agoCan this be considered a book? https://basarat.gitbook.io/typescript/ https://basarat.gitbook.io/typescript/ Not sure if it's <250 pages though.
- Jcampuzano2 4y agoI wouldn't waste time buying/using a book to learn TS. If you have experience in any statically typed language you should be able to pick up the basics just by a quick peruse of the TS docs. And then even if you don't I'd still say reading the docs and just browsing existing code assuming you already know JS would get you all the way there.