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 commentsThe only time it could start to matter is if you want to do server-side rendering of the React app, in order to serve complete static HTML for the first page load. It can matter for SEO and page load speed. If you need SSR, you need a backend that supports it. It looks like it's at least possible with Django, according to a 30-second google search: https://github.com/nielslerches/django-react-ssr (ymmv, that repo has 4 stars, so I dunno :)
https://www.amazon.com/Code-Language-Computer-Hardware-Softw...
From binary to a full computer
Many will probably recognize the author, Charles Petzold [2], from his Windows programming books.
[1]: http://www.cburch.com/logisim/
[2]: https://en.wikipedia.org/wiki/Charles_Petzold
I really like this book because it really takes you through all the steps. However, it's very readable and provides great examples of how to actually implement some of the components.
I also like it because it explains how to use tools like Yacc and Bison, while explaining how they work underneath and the motivation for using such tools.
I leaned on this book heavily in the class where the main assignment was writing our own compiler from scratch in C, and I'm currently using it now to make a compiler in rust for a custom language.
All comments shown.
Couldn't load more comments. Check your connection and try again.