Ask HN: What are some books where the reader learns by building projects?
852 pointsA continuation of https://news.ycombinator.com/item?id=13660086 which has been incredibly useful to me.
I recently finished this phenomenal book called "Building Enterprise JavaScript Applications":
https://www.packtpub.com/web-development/building-enterprise-javascript-applications
Which takes the reader from zero to building a non-trivial production fullstack application with JavaScript. I also recommend "Building Git". The title is self-explanatory:
https://shop.jcoglan.com/building-git/
Other resources:
https://github.com/AlgoryL/Projects-from-Scratch
https://github.com/tuvtran/project-based-learning
Comments (178) 88 threads
Earlier commentsIt takes you through implementing some classic AI examples (such as Eliza) and teaches you how to write code in a data-first style through Lisp.
I worked through the whole thing building it in Clojure and learnt loads (not just about AI, but about writing readable code in general). I can't recommend it highly enough!
The Go stuff is really just a means to an end, the real value comes from the practical learnings of how to build a functioning interpreter and compiler (and virtual machine!) for a programming language the author made up called Monkey.
It's not a book full of theory but it lays some nice foundations that might help you understand the theory better :)
I really should kick myself up the arse and go beyond chapter 3, I'm doing Go in a real project now.
Its not exactly from scratch as there is some boilerplate code to keep you focused on concepts. It was quite fun, except I didn't really like working with SML (OCaml would have been nicer IMO, and I think you can choose to use that by finding the ported boilerplate on Github). Also has C and Java versions of this book.
My book on WebGL2 (500+ pages) takes you from understanding the rendering pipeline, WebGL2 API, etc. and progressively walks the reader by building a feature-rich 3D graphics engine in WebGL2 (ES6) that includes cameras, lights, shaders, post processing, OBJ models, etc. with a final project of a 3D virtual car showroom.
https://www.amazon.com/Real-Time-Graphics-WebGL-interactive-...
All comments shown.
Couldn't load more comments. Check your connection and try again.