r/java • • Jan 04 '18

Java® Notes for Professionals book

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

26 comments sorted by

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 :)

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/brogrammer2018 Jan 05 '18

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

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

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!! :)

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!

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

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.

2

u/[deleted] Jan 05 '18

Thanks man :)

1

u/brogrammer2018 Jan 11 '18

Your most welcome rahulshishodia :)

2

u/kuldeepsidhu007 Jan 05 '18

This looks awesome. Downloading now. Thanks for making this.

1

u/brogrammer2018 Jan 11 '18

No probs! Your most welcome kuldeepsidhu007 :)

2

u/Jiganska Jan 05 '18

nice!

1

u/brogrammer2018 Jan 11 '18

Thanks Jiganska :)

14

u/glesialo Jan 04 '18

First Bash and now Java... Thank you very much BROgrammer2018!

2

u/mmeartine Jan 05 '18

Really good works!

1

u/HansVader Jan 05 '18

Would be neat to be able to read it online.

1

u/brogrammer2018 Jan 11 '18

Hi HansVader, should be able to read it on mobile and tablet I have increased font size; please let me know if any issues, thanks

2

u/an_actual_human Jan 05 '18

The fragments seem alright, but there is no structure or order. I don't think I'd use it over Stack Overflow if I had internet access.

0

u/[deleted] Jan 04 '18

[deleted]

9

u/brogrammer2018 Jan 04 '18

From official Stack Overflow Documentation license.txt

All content contributed to Stack Exchange sites is cc-wiki licensed, intended to be shared and remixed. We even provide all our data for non-beta sites as a convenient data dump, seeded by us.

http://creativecommons.org/licenses/by-sa/3.0/

But our cc-wiki licensing, while intentionally permissive, does require attribution:

Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

So let us clarify what we mean by attribution. If you republish this content, we require that you:

  1. Visually indicate that the content is from Stack Overflow Documentation. It doesn’t have to be obnoxious; a discreet text blurb is fine.

  2. Hyperlink directly to the Stack Overflow Documentation archive located at archive.org.

  3. Indicate topic and example IDs where the content came from.

  4. List the contributors (found in contributors.json) with a link to their profile page (e.g., https://stackoverflow.com/users/12345/username).

This is about the spirit of fair attribution. Attribution to the website, and more importantly, to the individuals who so generously contributed their time to create that content in the first place!

Anyway, we hope that clears up any confusion — feel free to remix and reuse to your heart’s content, as long as a good faith effort is made to attribute the content!

8

u/nutrecht Jan 04 '18

A good to hear. I was totally wrong then. Carry on :)