Live data from Hacker News

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

news.ycombinator.com

151–160 of 232 posts

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

#152

Miguel Grinberg's "Flask Web Development" [1] is an excellent introduction Python-based web development. You build a Twitter-clone. The book is an adaptation of the authors 18-part tutorial on the same topic [2]. [1] http://shop.oreilly.com/product/0636920031116.do [2] https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...

Should I go for the book or the tutorial?

Does the book have a lot of advantage over the tutorial?

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

#153
post #14

Michael Hartl's Rails tutorial ( https://www.railstutorial.org/ ) is a great example of this. It'll run you through building a twitter clone and introduce you to git, heroku, a bit of CSS/HTML, and even goes into AJAX a bit. I can't recommend it enough to people looking to get into rails.

I loved it so much that I bought the movies just to make sure he earned something from me for such an extraordinary piece of work.

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

#154

Not a book, but I loved this series about building a Pascal interpreter (currently 12 parts): https://ruslanspivak.com/lsbasi-part1/ It was always on my bucket list to learn to write programming languages, but it's very daunting - this made it easy to learn in bite-sized chunks.

Thanks, @bcoughlan. I'm glad you liked it.

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

#155
post #80

What a delightful coincidence! I just posted the next chapter on my in-progress book "Crafting Interpreters" which walks you through implementing an interpreter (well, two actually) from scratch, a chapter at a time: http://www.craftinginterpreters.com/ I really liked "Build Your Own Lisp" too. Fun book. :)

I can really recommend this book, I've worked through it and am implementing the interpreter in Rust. I've just finished the latest chapter and am looking forward to the future instalments. Edit: here is the (WIP) intepreter: https://github.com/HarveyHunt/loxr

I'm going through the book implementing the project in Rust too.

I'm trying to learn Rust with this project. It's still far from idiomatic but I plan to keep implementing following the book and then refactor later.

https://github.com/mariosangiorgio/rulox

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

#156
More hardware oriented I would suggest some of the new Raspberry Pi or Arduino based electronics kits, which are similar to books in that they provide a prescriptive path in to comprehending new areas through the satisfying and hand-on exploration of a defined project. Programming is involved too.

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

#158
post #37

I haven't bought or started this yet, but this book on interpreters is on my todo list: https://interpreterbook.com/

Pretty good book. I was a bit skeptical when I bought, but it was totally worth the price.

Strongly recommend it.

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

#159
post #120
post #14

Michael Hartl's Rails tutorial ( https://www.railstutorial.org/ ) is a great example of this. It'll run you through building a twitter clone and introduce you to git, heroku, a bit of CSS/HTML, and even goes into AJAX a bit. I can't recommend it enough to people looking to get into rails.

is there something similar to this but for python based frameworks, or javascript based? Seems like every great tutorial / books that I find are using ruby

For what it's worth, it's fairly agnostic when it comes to languages or frameworks. Yes, you'll learn Rails, and some Ruby on the way, but the intent is to learn web development from the ground up. You'll learn concepts that will apply to anything else you might be using. It's invaluable, and a great place to start with web development.
Post reply on HN