
Programming TypeScript
by Unknown author · first published 2019
9mentions
7recommended by
9HN commenters
2019–2026first – last mentioned
78% recommend22% neutral
Why HN recommends it
A practical guide to TypeScript for JavaScript developers, covering patterns such as minimal interfaces and error handling. It suits intermediate and experienced JavaScript programmers learning TypeScript.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.


…https://www.amazon.com/Pragmatic-Guide-Sass-Modern-Style/dp/... This Sass book has the best structure of any introductory tech book I've ever read. "TypeScript": Mastering TypeScript 3: https://www.amazon.com/Mastering-TypeScript-enterprise-ready... "Programming TypeScript": https://www.amazon.com/Programming-TypeScript-Making-JavaScr... RxJS: Reactive programming the most significant development in UI technology in 20 years. Once you get the hang of it managing asynchronous…
on “Things I wish I’d known about CSS” ↗…reducing time spent debugging and by making refactoring super easy. If you’re interested, I wrote a book about how to use TS, targeted towards intermediate/experienced JS programmers: https://www.amazon.com/Programming-TypeScript-Making-JavaScr...
on “State of JavaScript 2019” ↗Don't go anywhere, read a book, do it properly :). https://www.amazon.com/Programming-TypeScript-Making-JavaScr...
on “Ask HN: Does TypeScript live up to the hype?” ↗Original author of Claude Code is expert on TypeScript [1] [1] https://www.amazon.com/Programming-TypeScript-Making-JavaScr...
on “Claude Code's source code has been leaked via a map file in their NPM registry” ↗Nice article, I like it. I can recommend "Programming TypeScript" by Boris Cherny (O'Reilly, 2019) and "Effective TypeScript" by Dan Vanderkam (O'Reilly, 2019), if you want to learn more like this.
on “Tricks I wish I knew when I learned TypeScript” ↗Check out the chapter on handling errors in the book “Programming TypeScript”, it gives a solid pattern for achieving something very close to Rust’s Option.
on “Problems with TypeScript” ↗…to make types that work in many situations. Define a minimal interface that you need for a function. Any object that has those properties will type check and work. Check out Effective TypeScript, or Programming TypeScript. As a seasoned node developer I assure you that if you ever have teammates, types will help them contribute to a code base faster and with more confidence.
on “Ask HN: Starting a startup with typed code x none typed code” ↗My top priority books: Software Requirements - Karl Wiegers Programming TypeScript - Boris Cherny Associate Cloud Engineer Study - Dan Sullivan Design Patterns - Gang of Four Refactoring - Kent Beck, Martin Fowler Programming Pearls - Jon Bentley Patterns of…
on “Ask HN: Books you plan to read in 2020?” ↗…and have for a while. The simple reason is that for the books I buy most, which are technical in nature, the prices on Amazon are so much better. For example, on Wednesday, I bought (from Amazon): - Programming TypeScript - Effective TypeScript - JavaScript: The Definitive Guide - Eloquent JavaScript (I'm learning TypeScript/JavaScript for work...) In order, the prices on Amazon vs Powell's: - $27, $50 - $27, $40…
on “Powell’s says it won’t sell books on Amazon anymore” ↗