r/learnjava • • Jul 28 '19

10 Best Java Books in 2019

Over the years, I came in contact with a lot of java books.

I think different people have different demands when it comes to learning a programming language.

Source: https://programmerfriend.com/best-java-books-2019/

Here the list in case you don't want to go to the page directly:

  1. Clean Code: A Handbook of Agile Software

  2. The Pragmatic Programmer

  3. Effective Java

  4. Refactoring

  5. Java Concurrency in Practice

  6. Test Driven

  7. Head First Design Patterns

  8. Head First Java

  9. Release It!

  10. Kotlin in Action

For absolute beginners, without knowledge of another programming language, I would definitely recommend Head First Java.

Since I try to improve the linked article - I am really curious what kind of resources did you use or would you recommend for learning Java or improving your programming skills in general?

100 Upvotes

22 comments sorted by

22

u/iluvcoder Jul 28 '19

Java also have a free creative commons Java book

Source: https://twitter.com/java/status/1041540247111327744

2

u/m0dev Jul 28 '19

Wow, thanks for the link. Upon first inspection this looks really amazing.

Do you have any experience how well received this is?
For me this looks awesome since I mostly would use it to reference to specific topics. But not sure about absolute new comers.

1

u/iluvcoder Jul 29 '19

I used it in college to learn Java and it worked for me :)

4

u/Naabin Jul 28 '19

I would rule all these books out over Introduction to Java Programming and Data Structures by Y. Daniel Yang. It's a comprehensive version consist of basically everything what's out there in the java world.

2

u/m0dev Jul 28 '19 edited Jul 28 '19

I would rule all these books out over Introduction to Java Programming and Data Structures by Y. Daniel Yang. It's a comprehensive version consist of basically everything what's out there in the java world.

An issue I have is that I am not self-taught and therefore I never had to learn them on my own time. A lot of these Basics (as algorithms and data structures) were more or less just mandatory for my studies and thats why I never needed to pick up a book (outside of the lectures) .

Like I stated, I want to improve this article over time, I will try to get my hands on it and see if I can recommend it. Thanks for your input. Much appreciated.

3

u/nommabelle Jul 28 '19

Most people are self-taught on this subreddit. Some are even absolute beginners, like you say, so absolutely should include books like this one. I'm starting off with Clean Code and, although I have a good foundation now, would like to read that Java Programming and Data Structures book.

Thanks for the list OP!

1

u/biggiec23 Nov 21 '19

Introduction to Java Programming and Data Structures by Y. Daniel Yang

I'm currently looking for a book to supplement my learning at my community college. Would this be a good book to continue to reference and learn from? Also, is the 2014 edition similar enough to the 2017 edition?

1

u/Naabin Nov 23 '19

I am not quite sure about the edition however the one I currently hold is 11th global edition which includes online chapter as well which are quite advanced topics. And the curriculum is organised very well, if you are doing CS101 type or intro to programming using java then you can look up chapter 1-17.If you are doing data structures and algorithms then you can go through chapter 18-28 and so on depending what your unit is covering. There are some other stuff as well such as Network programming, database programming , web programming etc. The book not only covers programming techniques where in school they teach us only techniques but it also helps you build up the programming skills upon completing given exercises, in my opinion. It’s the only book I have ever read that teaches us the programming as well as programming language and it’s features.

3

u/[deleted] Jul 28 '19

Head First was the book used at Uni for lectures, so for me its the best. Which off the others buddy would you recommend the most

4

u/m0dev Jul 28 '19

I think once you are a bit fluent in the Java Language, it is also valid to search for what you want to do with your knowledge. Just hit google and build a few things.

If you want to do Java Programming for a living I think it wouldn't hurt to pick up "Clean Code" and then learn using a Framework. I am a bit biased since I use it daily, but I would really recommend Spring Boot since there are plenty of tutorials for almost everything.

1

u/[deleted] Jul 28 '19

Ive worked the past year with c# having studied Java the previous year in Uni. Im now returning to Uni after a gap year abroad working so thinking something along the lines of Head First Java.

I have looked at Clean Code i shall have to do a quick refresher in it

Thanks for the reply buddy

5

u/Duckboy_Flaccidpus Jul 28 '19

Dietals How to Program is really good and covers data structures a bit. It's not a rigorously deep text but the content comes across as caring about the student's learning. I will be purchasing his Android text next once I finish Java.

1

u/[deleted] Jul 28 '19

i read head first java a long time back i don't program in java and didn't then also but it was a wonderful book. easy to follow through and a pretty intuitive take on things in general

2

u/m0dev Jul 28 '19

I mentored a friend back then, he really loved Head first Java in comparison to other resources he found online.
After he finished the book, he was able to use other resources of learning.

3

u/[deleted] Jul 28 '19

Mods should sticky this thread.

3

u/[deleted] Jul 28 '19

Kotlin is so amazing.. you can turn a 400 line java code into 80.

1

u/Cynaren Jul 28 '19

I have the head first java 2nd edition(probably newer editions are out now) and Core Java - Fundamentals vol 1 by Cay S Horstmanm..... Both of which I haven't read yet.

1

u/OhioDude Jul 28 '19

I just started getting back into Java after about a decade, not for my job more for fun. I got back into it with both Head First books and Effective Java. Core Java Volume 1 is the other one. I'll have to check out some of these others.

0

u/[deleted] Jul 28 '19

[deleted]

2

u/m0dev Jul 29 '19

Thanks for your suggestion. That is the main reason why I posted it to reddit.

I agree, for finding a job Spring is the way to go.

I will update the article in a while and make sure to include SiA. Probably also add something like "Cloud Native Java".

2

u/[deleted] Jul 28 '19

[removed] — view removed comment

1

u/castleguar Oct 21 '19

I haven't heard anything bad about PP, but the CC trilogy is definitely good. Clean Code, Clean Coder, Clean Architecture.

What have you heard that is bad about PP?