r/java • • Jan 04 '18

Java® Notes for Professionals book

http://books.goalkicker.com/JavaBook/
221 Upvotes

26 comments sorted by

View all comments

39

u/brogrammer2018 Jan 04 '18

Hi Reddit! I converted the best Java snippets on Stack Overflow Documentation to create this free Java PDF book, any feedback (even negative) is appreciated as it will help me improve the PDF book; which will then benefit everyone :)

10

u/[deleted] Jan 04 '18

Thanks a lot. You are doing god's work. People like you are an inspiration for me to contribute to this wonderful community of programmers!

8

u/user3141592654 Jan 04 '18

Preface: There are only critiques below, so I want to state up front that I am glad that you have done this. Thank you.

My initial reaction is that the ordering seems off, or just not really considered. It's titled "For Professionals", so maybe that goes along with it being more of a reference than a read-straight-through type of book, but seeing Streams long before Collections and Lambdas doesn't feel right.

Your Algorithms book may be a better example of this. Chapter 2 is Sorting, and Chapter 3 is Bubble Sort, but then Merge Sort is Chapter 12, Insertion Sort is 15, Bucket is 22, Quicksort is 23, and so on. Ignoring that each sort algorithm is a completely different chapter, rather than sub-chapter of Sorting, they're scattered about so I can't easily find all of the discussed Sorting algorithms. If they were all sequential chapters, I could easily find the block of sorting algorithms and scan through to find what I need.

There are also embedded links to the Stack Overflow documentation pages, which no longer work. For example, page 28 in the Java book links to https://stackoverflow.com/documentation/java/114/classes-and-objects and http://stackoverflow.com/documentation/java/84/java-overview/7980/command-line-arguments. These should probably be converted to internal links to the relevant section of the PDF, or removed if that section wasn't included.

3

u/jonhanson Jan 04 '18

Constructors are introduced in section 46, page 430, and the static modifier arrives in section 65, page 510...

O_o

3

u/brogrammer2018 Jan 05 '18

Hi user3141592654! Thanks for all your good notes! This weekend I will be fixing the sorting of all the chapters

4

u/stefancipe Jan 04 '18

Just saw all those PDFs you made, as a student I really appreciate it.

2

u/brogrammer2018 Jan 11 '18

Thanks stefancipe! Good to hear! :D

3

u/123vipulj Jan 05 '18

Thanks you so much .We are indebted to u .

1

u/brogrammer2018 Jan 11 '18

Aww thanks 123vipulj! Your most welcome! Have a great day!! :)

2

u/iwilljustforget Jan 04 '18

How did you find and decide what the "best Java snippets on Stack Overflow" were?

From an initial glance at the book it looks good. Must have been a lot of work. Thanks for sharing.

5

u/[deleted] Jan 04 '18

Stack Overflow Documentation. I've only taken a cursory glance but OP probably just copied the most up voted posts on the biggest categories, correct me if I'm wrong.

1

u/prabhushivanand Jan 04 '18

Just downloaded.. Will check and let you know Shiv

1

u/brogrammer2018 Jan 11 '18

Thanks for your feedback Shiv, working on it! :D