Live data from Hacker News

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

news.ycombinator.com

131–140 of 232 posts

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

#131
The classical Design Patterns book has a first chapter which takes you through the design of a text editor using the patterns provided in the book. If what you do is read the chapter and then the patterns referenced as you go and build the text editor based on their design you get exactly the sort of thing you are looking for. Its a different way of doing it than the entire book but arguably just in a different format for what is otherwise a reference book.

https://www.amazon.com/Design-Patterns-Elements-Reusable-Obj...

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

#132
Richard Stevens' UNIX Network Programming books: http://amzn.to/2lmH8hy The 1st volume at least is going through a simple TCP/IP telnet server and enhancing it with features as you go (single connection, multiple connection, forking, multi-threaded server), etc.

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

#133

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...

Remark that the article is rather old (although revisited 2014, however that's still an eternity in webdev world). Although I like flask (it was my first library to do "web stuff") I miss especially the fact that authentication is not part of the core lib, but only available via third-party extensions.

That may not be a problem for an experienced dev, but for a starter in web-dev I highly appreciate a library or framework that has built-in authentication because you do not want to fuck that up. Granted - you can also fuck it up with e.g. Django, but it is way harder.

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

#134
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

The closest thing I know of is Test-Driven Development in Python. http://chimera.labs.oreilly.com/books/1234000000754

It goes through making an app in Django, but is heavier on TDD than Hartl's book.

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

#135
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

Awesome, I added a link to it on the book's README so other people can find it. I hope that's OK.

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

#139
post #80

Earlier quoted context omitted.

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

Awesome, I added a link to it on the book's README so other people can find it. I hope that's OK.

That's great, thanks for doing so.

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

#140

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...

Tooting my own horn here:

My flask also book does this http://a.co/gwGvY3o

Post reply on HN