Ask HN: What are some books where the reader learns by building projects?
2021 Edition. This is a continuation of the previous two threads which can be found here:
https://news.ycombinator.com/item?id=22299180
https://news.ycombinator.com/item?id=13660086
Other resources:
https://github.com/danistefanovic/build-your-own-x
https://github.com/AlgoryL/Projects-from-Scratch
https://github.com/tuvtran/project-based-learning
18 comments
[ 5.4 ms ] story [ 53.3 ms ] threadhttps://www.amazon.com/Garage-Science-Incredible-Projects-Ba...
This book is aimed squarely at beginners, but it's excellent for that purpose.
Guides you through a language-agnostic test-driven development of a primitive ray tracer. Could be done in a weekend or so of persistent work. And at the end you can bask in the glory of your fans running at 100% during rendering!
Once finished, you can jump in to PBRT https://pbrt.org/ which has a new update coming out for rendering on gpu.
Elixir has interested me but I'm not sure if I want to learn Erlang.
[1] https://compilers.iecc.com/crenshaw/
- Writing a compiler in Go [2]
- Build a distributed service (append log) in Go [3]
[1] https://interpreterbook.com/
[2] https://compilerbook.com/
[3] https://pragprog.com/titles/tjgo/distributed-services-with-g...
* Tiny Python Projects (https://www.manning.com/books/tiny-python-projects) by Ken Youens-Clark
* Impractical Python Projects (https://nostarch.com/impracticalpythonprojects) and Real world Python (https://nostarch.com/real-world-python) by Lee Vaughan
This discussion thread is nice if you want to explore what people are automating using Python: https://www.reddit.com/r/learnpython/comments/k5k1h0/what_do...