Ask HN: What is the best programming book you've read?
21–30 of 56 posts
Re: Ask HN: What is the best programming book you've read?
#22I’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…
What do you mean by an O(log(n)) algorithm for multiplication ? The naive approach takes O(n^2) and O(nlog(n)) is extremely state of the art and is unlikely to be in a programming book
[0] https://www.fm2gp.com/slides/FM2GP_Course_Slides_Pt1.pdf
Re: Ask HN: What is the best programming book you've read?
#23Hon. mentions: HtDP and accompanying Simple Data and Complex Data courses on edX; Part I of Sedgewick & Wayne's Computer Science book and accompanying booksite and free Coursera course
Re: Ask HN: What is the best programming book you've read?
#24For helping realize that in all the books telling me how to write good code, explaining language constructs, and working as a software developer, none of them ever made it clear to me that programmers spend less than half their time writing new code from scratch. For showing me that programming involves revising and improving far more than opening up an editor to a new file in an empty repo.
Re: Ask HN: What is the best programming book you've read?
#25If anyone has a good book about writing as simple programs as possible instead of as flexible as possible, I would appriciate it. Because the problem today is complexity and abstractions. It prevents us from changing code easily, deleting code easily, and understanding the full program flow easily.
https://www.amazon.com/Understanding-Software-Kanat-Alexande...
Re: Ask HN: What is the best programming book you've read?
#26K&R. It was the best programming book I read. I have not read many other programming books to be honest. I couldn't finish most rather. It's been years since I even touched C and at this point I am not going back, I know; but as an Android dev I wish I could find a non-lengthy book like K&R that would expose me to Kotlin like I was exposed to C, while helping unlearn a lot of Java.
I didn't enjoy that much as a teaching device, but I had the chance to greatly appreciate its timeless writing style.
It's as good today as a book about the C language as it was when it was first published.
Re: Ask HN: What is the best programming book you've read?
#27Re: Ask HN: What is the best programming book you've read?
#28And "Compiler design in C", also by him
Re: Ask HN: What is the best programming book you've read?
#29The 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 allowing something to permeate, intention and priority when separating factors/aspects, good naming patterns and when to use which. I don't know of a book that tells you how to find balance.