March 13, 2026
Free book, hotter comments
Show HN: Algorithms and Data Structures in TypeScript – Free Book (~400 Pages)
Free 400‑page coding book drops — fans cheer, skeptics yell “ad”
TLDR: A free 400‑page TypeScript algorithms book—complete with runnable code—just launched, but the comment section split between praise for its clarity and accusations of stealth marketing tied to AI tools and the author’s employer. It’s both a solid study resource and a trust test for community‑posted releases.
A free, 400‑page “Algorithms with TypeScript” book just hit the web, and the comments lit up like a Friday night. Supporters are hyped: TypeScript (a souped‑up JavaScript with labels on data) makes the examples clear, and the author says every chapter has real, tested code. Think: college‑level sorting, searching, and trees—explained with runnable examples and a public repo.
But the plot twist? The footer credits AI tools and a company workflow, and suddenly half the thread is side‑eye. One commenter goes full detective, noting the author’s employer and calling it stealth promotion. Another summons the forum mod by name—like paging the lifeguard to the deep end. Meanwhile, the author jumps in to stress it’s code‑first, with tests and type contracts, to bring engineering rigor to textbook land. Fans echo that it’s concise yet thorough; critics fire back that it’s still beta, quipping, “Why read a book the author hasn’t fully read?”
So we’ve got two shows at once: a genuinely useful free resource for learners, and a spicy debate about AI footprints and self‑promo. The memes write themselves: “TypeScript vs Python vs Java: steel cage,” and “AI wrote it? Did AI read it?” It’s equal parts study guide and comment‑section courtroom.
Key Points
- •A free, beta “Algorithms with TypeScript” book is available online with a downloadable PDF.
- •The content mirrors a standard undergraduate algorithms curriculum (e.g., MIT 6.006/6.046).
- •All algorithms are implemented in idiomatic, type-safe TypeScript and tested with a modern toolchain.
- •The book targets software engineers and CS students, includes exercises, and assumes basic TS/JS knowledge.
- •It is organized into six parts, detailing foundations, sorting/selection, and core data structures; built with Zenflow and Anthropic’s Claude tools.