Ask HN: What is the best programming book you've read?
51–56 of 56 posts
Re: Ask HN: What is the best programming book you've read?
#52There are many great ones listed here, but I wouldn't give any single book more credit than how they combine in practice, as the question sort of implies. The best lessons I've learned is how to balance all these good ideas for each problem, idea, implementation. How do do OO without lots of racy mutable state, using immutability efficiently, composing pure functions, identifying what to abstract explicitly vs allowi…
Re: Ask HN: What is the best programming book you've read?
#53The AWK Programming Language (1988) https://archive.org/details/pdfy-MgN0H1joIoDVoIC7 Best as in best written, along with K&R—Brian Kernighan co-authoring both can't be an accident!—it's just a pleasure to read. I use it as a model when writing documentation myself. They get you started using AWK literally on page 1. Later they get into the details of particular use cases—profiling, making DSL interpreters/compilers,…
Re: Ask HN: What is the best programming book you've read?
#541. SICP 2. How to Design Programs 3. Software Design for Flexibility: How to Avoid Programming Yourself Into a Corner
FYI - The original was written in Scheme. There is a newer version based in python which I haven't tried.
Edit: The python version is highly contested. Scheme is the more difficult and therefore the best way to understand these principles.
Re: Ask HN: What is the best programming book you've read?
#55I’m currently enjoying “From Mathematics to Generic Programming” by Alexander Stepanov and Daniel E. Rose. One thing about the book is that it’s a lot more interesting than what a cursory scan of the table of contents would suggest. An O(log n) algorithm for multiplication doesn’t seem interesting at first. But the authors do an amazing job of starting from familiar ideas and building up to surprisingly beautiful and…
Sounds interesting. I know no C++, can I still enjoy the book? I have no interest in learning it.
I suppose you can learn about the power of generic programming and apply it to another language. There is probably some non-zero amount of things that you can pick up from this book that you can apply elsewhere. However, I don't know if that is enough to justify going through this book. Your milage might vary.
Re: Ask HN: What is the best programming book you've read?
#56There are many great ones listed here, but I wouldn't give any single book more credit than how they combine in practice, as the question sort of implies. The best lessons I've learned is how to balance all these good ideas for each problem, idea, implementation. How do do OO without lots of racy mutable state, using immutability efficiently, composing pure functions, identifying what to abstract explicitly vs allowi…
Hm. Maybe that's because the concerns must be balanced differently for different applications?