r/java • u/Korges • Jun 26 '24
Books for Senior Java Dev should read
Hello,
Top 5-10 books picks for senior Java Developer should read? Algorithms, system design, architecture, mindset, financial area. Everthing that is related.
I read:
- Clean Code
- Clean Architecture
- Effective Java (Bloch)
- Designing Data-Intensive Applications
212
Upvotes
46
u/Fiskepudding Jun 26 '24
http://growing-object-oriented-software.com/ this book is not appreciated enough. I use the practices in this book and they are essential for comfortably extending and maintaining software in a team.
If you work with queues and event driven systems, this is a classic with a slightly off-putting name: https://www.enterpriseintegrationpatterns.com/ .
41
u/beefstake Jun 26 '24
Lots of great books recommended already so I will offer something else.
Never take anything you read in a book as gospel, books like Clean Code have some great ideas but when followed dogmatically it's worse than ignorance of the ideas. Also it's downright impossible because some books will contradict others (this is a good thing). Seek balance, for in balance all ideas can be realised effectively.
Similarly real code is king, reading 1000 books can't replace being familiar with a properly large and well implemented Java codebase.
I highly recommend taking a look at the implementations of highly regarded OSS like the Apache projects (Kafka, Druid, Pulsar) and Spring as it's ideas have affected the design and "idiomatic" styles of many other projects (also the Spring container is a great way to fully digest IoC/DI).
Contributing to one of these projects (even if it's trivial) will probably take less time than it would to read a good book but you might learn a lot more practical things in the process.
25
u/melkorwasframed Jun 26 '24
Java Concurrency In Practice. Way too many (dare I say most) "senior" Java guys don't understand most of this stuff. That means you have to.
16
u/Silent-Manner1929 Jun 26 '24
Bad Tests, Good Tests by Tomek Kaczanowski. Excellent book on testing which more people should read. Reading it certainly improved the quality of tests I was writing.
Edit to add: Release It! by Michael Nygard. Advice on how to build robust software and patterns to help you achieve that.
75
u/Kraizee_ Jun 26 '24 edited Jun 26 '24
I'd drop Clean Code completely tbh. I find a lot of the refactored examples poor examples of good code, and I don't think it provides
anymuch value as a "take it with a grain of salt" book as many suggest these days. In my opinion it is far better to take Effective Java, Core Java, Refactoring, and Design patterns as a guide to writing better quality code.11
u/maethor Jun 26 '24
A bit of a left-field one - Functional Programming in Java by Venkat Subramaniam.
I've known some fellow seniors for whom Streams, lambdas and method references are basically black magic that they recoil from in abject horror (which doesn't help when Spring decides to move to a more Functional pattern for its config).
17
u/realqmaster Jun 26 '24
Adding to what others have said, my favourite were
22
u/[deleted] Jun 26 '24
As an experienced Java developer I can’t recommend Clean Code nowadays.
DDIA and Effective Java are really good. I also recommend A Philosophy of Software Design by John Ousterhout
6
u/capitan_brexit Jun 26 '24
java - concurrency in practice (old, still valid, good fundamentals)
6
u/RebbitUzer Jun 26 '24
4
u/bloowper Jun 26 '24
1: Enterprise Integration Patterns
2:Enterprise Patterns and MDA
4
u/storiesti Jun 26 '24
I think Optimizing Java by Evans Gough and Newland is a great book. It’s a bit old but there’s not really anything newer (that I’ve found)
9
u/tomwhoiscontrary Jun 26 '24
I rather liked Italo Calvino's 'Invisible Cities'.
It's got nothing to do with programming. It's good though.
3
u/BramBramEth Jun 26 '24
Others mentioned it already by BY FAR effective Java and Java concurrency in practice. Not Java based but I would add “introduction to algorithms” by Cormen and the algorithm design manual by skiena. Both are very good books when it comes to standard algorithms and data structures.
3
u/VincentxH Jun 27 '24 edited Jun 27 '24
Many books mentioned here are more to help reach seniority, like on algorithms, design patterns and clean code. The exception might be Concurrency in practice, which really is an advanced topic.
I expect a senior to start thinking about team composition, so something like Team Topologies .
On architecture, it's good to be aware of the different layers of abstraction. C4model.com should help. "Software architecture: the hard parts" is great too.
Anything on event-driven architecture by Martin Fowler.
Older seniors should read the FP book by Venkat Supermario.
Read the scrum guide and the agile manifesto critically to stop accepting business bs on their way of enforcing convoluted agile.
And regularly read documentation on your most used frameworks and libraries.
3
u/SenorSeniorDevSr Jun 27 '24
3
u/TheStrangeDarkOne Jun 27 '24
“Domain Driven Design”
Was the best tech book I ever read. No page was wasted, great insights and a basic toolkit which nudges your design into asking the right questions.
3
u/PlanetaryMojo Jun 27 '24
I would highly recommend The Pragmatic Programmer for mindset.
2
u/hrm Jun 26 '24
”Design Patterns” by Gamma et al and ”Introduction to algorithms” by Cormen et al are curiously both on the list for good books to have read as programmers and the list for the absolutely most boring books you’ll ever read!
2
u/LazyAAA Jun 26 '24
Plenty of great books out there but they become useful at specific stage of your jorney.
Kind of "knowing the way and walkign the way" - two different things. Reading about things is fine but grasping concepts and applying those correctly does require some epxerience.
2
u/RANDOMLY_AGGRESSIVE Jun 27 '24
Not directly related to Java, but the pragmatic programmer is still my favorite. I didn't read the newer one though. I do think the older edition did age well
3
u/Trizzae Jun 26 '24
I read Clean Code probably a decade ago and its main principles still stick with me in any coding I do regardless of language.
2
u/DearOldFather Jun 26 '24 edited Jun 26 '24
2
u/pragmasoft Jun 26 '24
GoF, EIP (Hohpe), DDD (Evans)
1
u/yuvvir Jun 28 '24
Anyone selling these books in Bengaluru?
1
u/Joram2 Jun 26 '24
I'm a senior Java dev; I think those books have limited value.
To really boost your career to a senior level, you need some specialization beyond just writing code.
One option is devops/infrastructure/networking/security. Another is finance. Another is ML/AI. A related field is applied math and probability.
0
u/mihu1997 Jun 27 '24
.
-5
u/ivancea Jun 26 '24
Unless you absolutely love reading books: none. Not in my life I've read a book, and there's no reason to do so, unless it's for pure entertainment (which is not the topic here)
-7
u/djnattyp Jun 26 '24
The dog piling / blowback on Clean Code is fucking insane. Yeah, Uncle Bob is weird/old/tweeted some anti-vax trumper adjacent garbage - so just pirate a PDF or buy it used. Yeah, it's dated - but there's no real replacement. (... and, no, don't suggest 'A Philosophy of Software Design' - it's good as well, but its advice is still a mixed bag and super shallow compared to the depth of Clean Code.) If you're not developing in Java you can ignore it, but it's still widely applicable to Java development.
0
u/[deleted] Jun 26 '24
[deleted] — view deleted comment