Ask HN: What are some books where the reader learns by building one project?

Recommendations from 100 sampled comments out of 229 eligible comments. This page covers the sample, rather than the entire HN thread.

38 books

pjungwir · Feb 16, 2017
Code by Charles Petzold takes this approach to explaining how a computer works.
r_singh · Feb 16, 2017
Eloquent Javascript - http://eloquentjavascript.net/ You build 5 projects through the book
steve_g · Feb 16, 2017
I'll second this. I worked through the book and downloadable exercises a few years ago. It's a great way to learn about the multiple layers of abstraction that a modern program sits upon.
yisheng · Feb 16, 2017
I really liked The Elements of Computing Systems (nand2tetris). The reader gets to build a computer from nand gates up.
vivekd · Feb 16, 2017
Automate the boring stuff - Al Sweigart. This book teaches you python through a series of example projects.
detaro · Feb 16, 2017
Physically Based Rendering – From Theory to Implementation
nether · Feb 16, 2017
Accelerated C++ involves working on a program to analyze student grades. The book itself is excellent, but the overarching project is very dry.
adwhit · Feb 16, 2017
Build a compiler from scratch. Main annoyance is that it uses SML - most readers are likely to want to use OCaml, and it's a bit fiddly translating between the two.
jenkstom · Feb 16, 2017
Programming from the Ground Up teaches x86 assembler from first principles.