Hacker News new | past | comments | ask | show | jobs | submit login
Ask HN: Best programming books in the last couple of years?
56 points by a_imho on Oct 12, 2022 | hide | past | favorite | 24 comments
Have a personal budget to spend mainly on programming books and was wondering what are some of the better ones recently? Question is deliberately open ended with no particular focus on specific domains, nevertheless a small summary why a given book is great value would be appreciated.



We may not want to regard Knuth's latest volume, V 4B, in the The Art of Computer Programming series as a book authored only over the last couple of years, but, yeah, it has just gone into print [0]; HN reaction here [1].

[0] https://www-cs-faculty.stanford.edu/~knuth/news.html#v4b

[1] https://news.ycombinator.com/item?id=33082128


Who reads this... and why. Some passion is involved i guess.


It’s useless in real life


"Nobody ever taught me about a B tree. I had heard of it. When I went to write my own B tree, on the bookshelf behind me, I’ve got Don Knuth’s The Art of Computer Programming, so I just pulled that down, I flipped to the chapter on searching and looked up B trees and he described the algorithm. That’s what I did.

"Funny thing, Don gives us details on the algorithm for searching a B tree and for inserting into a B tree. He does not provide an algorithm for deleting from the B tree. That’s an exercise at the end of the chapter, so before I wrote my own B tree I had to solve the exercise at the end. Thanks, Don. I really appreciate it.

"Adam: That’s awesome. Did you pull anything else from that book?

"Richard: Well, it’s an amazing volume. I can’t give you a specific example, but from my era, everybody has to have read or at least skimmed through, at least browsed through The Art of Computer Programming, and know that algorithms that are there, maybe not Don’s exact implementation. I mean, I never took the time to learn MIX, which is his assembly language, but it’s useful to flip through and look at all the algorithms he talks about. I think that just a year or two ago I needed a pseudorandom number generator, and I was, “Let’s see what Don recommends.” You pull it off. You see what he does."

https://corecursive.com/066-sqlite-with-richard-hipp/


useless everywhere basically. No sane person would sit down and read TAOCP.


Hard disagree - I'd consider it the encyclopedia of Computer Science. Yes, might not be great to read in entirety but found very useful exploring some search algorithms recently - KMP and Boyer-Moore both explored in the excruciating detail I needed


It's damn hard to read. There are better writers


I haven't read it yet, but I've skimmed over a couple parts, but I think System-Design Interview insiders Second Edition is a modern book around lots of concepts talked about on HN over the last 5-10 years.

Others on my list that I think are good books:

* Empowered

* Soft Skills

* Pragmatic Programmer

* Clean Architecture

* Staff Engineer by Will Larson


Related "Ask HN: What are the best tech books you read in 2021?" https://news.ycombinator.com/item?id=29688332


Software Engineering At Google


The Rust Programming Language ISBN-13: 9781718500440


Petzold just released 2nd edition of Code, with additional work on CPU architecture.


I think the answers would be more useful if the replies said something more than just the title.


Cracking the coding interview is really good, especially for non-seniors, you'll learn so much if you've patience (700 pages).


Systems Performance: Enterprise and the Cloud 1st Edition Edition ISBN-13: 978-0133390094, ISBN-10: 9780133390094


Agreed. Someone borrowed this book from me and then he liked it so much to pay the full price for it. Actually the 1st edition is not published recently but the 2nd edition was published a few years back.


I was just looking at the preview. I would have liked to have seen more in the preface than just a quote and short paragraph.


Write code for Binary Search in Python


DDIA…….


Stands for "Designing Data-Intensive Applications".


Just recommended to a mentee of mine yesterday referring to it as "one of the best software books in the past few years". Weird coincidence. It really is good, but not super actionable by a lot of engineers since they aren't in a position where they need distributed data or message queues or other interesting tech.


It's very helpful for understanding the software many of us use on a daily basis though, which is extremely important. That sort of knowledge helps you evaluate when different solutions are appropriate, what their shortcomings and strengths are, and to understand why those shortcomings and strengths are there in the first place.

A lot of it is things that could be explained individually, but there's really something to be said for holistic views on a topic.


I’m not sure how the book helps even if you do need distributed databases and message queues.


You will understand why you use Kalfka




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: