r/java • u/omega3111 • Oct 07 '17
Finally: Effective Java, 3rd Edition
Most of us know well Josh Bloch's Effective Java book. TIL (from Stuart Marks' twitter) that there's a 3rd edition coming out soon and it's updated for Java 9. It's available here . There's a nice 40% 20% (the announcement was wrong) discount for pre-orders.
This is not an ad. I'm not affiliated with any of this. If you find other purchase sources post them.
59
u/solroot Oct 07 '17
Effective Java gave me my first big step from writing hacked together "it works" Java, into writing structured well-thought-out maintainable Java. I'm looking forward to this newest entry, because I've been slow to incorporate some of the new language features like streams into my work.
0
Oct 08 '17
[deleted]
34
u/SOberhoff Oct 08 '17
Java Concurrency in Practice is an excellent book.
26
u/omega3111 Oct 08 '17
Java Concurrency in Practice
A bit old though and Brian goes berserk whenever someone asks him when he's going to update it.
3
17
u/SOberhoff Oct 08 '17 edited Oct 08 '17
He has also stated that any changes he'd make are almost all additive.
-13
u/cyanocobalamin Oct 08 '17
An incredibly useful and informative comment, thank you.
15
u/SOberhoff Oct 08 '17
Well, I'm pointing out that while some of the newer stuff may not be covered, the existing content isn't outdated and no longer applicable.
2
u/IcedDante Oct 09 '17
I don't think he was being sarcastic.
4
7
1
u/elastic_psychiatrist Oct 08 '17
I’m sure he goes berserk at any question he gets. I’ve been to several Brian talks, and all the questions he gets are the same (not that they’re that bad). It’s kind of what you expect in that job I guess. He has a great bedside manor despite it though.
5
u/jasie3k Oct 08 '17 edited Oct 08 '17
Honestly I believe that Effective Java is a book thar every Java developer should read once every two or three years.
8
u/volch Oct 07 '17
40% off some arbitrary number. Amazon's price is similar.
4
3
u/jeff303 Oct 07 '17
Is it? I can't even find the combo (for example) on Amazon. Found the paperback pre-order for $52.
3
3
u/MojorTom Oct 08 '17 edited Oct 08 '17
Guys! use JAVASALE discount code. The book + ebook bundle will come to $48.39 which is 40% discount on their list price of $98.98.
edit: as mentioned in another comment, IUGD45 gives 45% discount on the list price, please use this .
2
u/cyanocobalamin Oct 08 '17
I can't believe I am thinking this, but why buy the hard copy book at all?
If I am going to be studying Java, it will be at a computer, trying the examples out, taking notes. All of that will be easier with an e-book, onscreen, instead of cranking my neck down to a paper book hoping it stays open.
I also don't need another future obsolete text book taking up room on my bookshelf.
Am I missing something?
4
u/omega3111 Oct 08 '17
Can't take an e-book to a deserted island.
I, myself, haven't opened an academic physical book in ages. Just having ctrl+F is enough a reason.
2
u/cyanocobalamin Oct 08 '17
You can take your tablet, eReader, or lap top to a deserted island.
Good point about Ctrl F :-).
1
2
u/balefrost Oct 30 '17
I dunno, I find that books are sometimes better than digital reference. I often know "where" something is in a physical book far better than "where" something is in a digital book. And while Ctrl-F is indispensable, it can be equally useful to stick a post-it note to a page or write a clarification in the margin.
I feel like ebooks add a lot but lose something in the process. Books are just more tactile than anything digital. And that's not just some sort of hipster romanticism - that tactility adds a useful dimension for interacting with the book.
Plus, from a purely romantic position, it feels nice to pull a tome off the shelf.
1
u/MojorTom Oct 09 '17
It's just preference. Nothing matches the portability of e-books, but with physical books people form emotional bonds as you keep reading. The experience is more fulfilling. They are also less distracting than e-book readers.
1
u/ybitz Oct 09 '17
If you buy the hard copy, you own it and you can resell it. If you purchase the ebook, you technically don't own it; rather you have a license to use it. It cannot be resold nor transferred.
2
u/cyanocobalamin Oct 09 '17
Good points. I think I might go with the ebook for the increased convenience of usage. I don't think I have sold a text book back in decades. The information just becomes obsolete very fast and leaves me with a paper weight to take to a photocopy shop, pull apart, and dump the paper in one of their big recycling bins.
1
u/ChristianGeek Dec 13 '17
It’s still easier and more intuitive to flip through a physical book than an ebook. When someone comes up with a solution to that I’ll gladly get rid of most of my physical books.
5
u/Meldanor Oct 07 '17
Thank you very, very much for this information. I've read the 2nd Edition a few years ago and so many things were right and useful. I will buy this book, when its released. One of the few programmer books worth its money!
RemindMe! 2 months "Buy Effective Java 3rd Edition"
2
-1
u/carbolymer Oct 07 '17
RemindMe! 11 weeks
-1
u/RemindMeBot Oct 07 '17 edited Nov 27 '17
I will be messaging you on 2017-12-23 23:37:40 UTC to remind you of this link.
42 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
FAQs Custom Your Reminders Feedback Code Browser Extensions
8
u/greg_barton Oct 07 '17
I haven't bought a java book in years. Just happily bought this one. Bloch knows his shit.
6
u/SergeantFTC Oct 07 '17
Where's the discount? Do you mean that you can get 40% off the cost of buying the physical book and the ebook together or something? Cause that hardly counts.
5
u/mrn1 Oct 08 '17
Anyone found similar deal for book + ebook from european shop? Shipping costs $25 plus taxes (20-30% in my country) is too much for me.
4
u/smackfu Oct 07 '17
Only the ebook bundle is 40% off. The physical books is more like 20% off. But it is still cheaper than Amazon.
Also, instabuy.
1
1
u/elastic_psychiatrist Oct 08 '17
Anyone have any idea what the additions are? I hope they cover all sorts of anti-patterns I see with Optionals and Streams. It would be much easier to justify things in code reviews if the “java bible” clearly laid them out.
3
u/omega3111 Oct 08 '17
The link I posted has a description with that info.
New coverage includes
Functional interfaces, lambda expressions, method references, and streams
Default and static methods in interfaces
Type inference, including the diamond operator for generic types
The @SafeVarargs annotation
The try-with-resources statement
New library features such as the Optional<T> interface, java.time, and the convenience factory methods for collections
1
u/elastic_psychiatrist Oct 08 '17
Oh duh, thanks. I’m bad at reading full links on mobile. Looks like exactly what I’m hoping for.
1
Oct 08 '17
I think we need some instruction as to what he best way to use Java 8 is. It contains such a huge change to the language
1
1
u/danielgomez22 Jan 05 '18
I just see a peorder option on amazon https://www.amazon.com/Effective-Java-3rd-Joshua-Bloch/dp/0134685997/ref=mt_paperback?_encoding=UTF8&me=
The book is not released?
2
3
Oct 08 '17 edited Oct 08 '17
the ebook is a separate order? how weird and archaic. pearson is pearson.
3
2
2
1
u/DJDavio Oct 08 '17
Book comes out in December, Java 18.3 releases in March, I wonder if they will offer updates for new Java releases in an addendum or something like that.
4
u/cyanocobalamin Oct 08 '17
Java 18.3?
3
u/an_actual_human Oct 08 '17
5
u/cyanocobalamin Oct 08 '17
Run for the hills! The versioning scheme for Java is being changed again!
1
1
u/madpenguinua Dec 28 '17
Strange, it says that release date is in January everywhere, but I've just bought it and received all files right away.
1
0
Oct 08 '17
[deleted]
2
u/cdoremus Oct 08 '17
Where do you enter the promo code during the ordering process?
1
Oct 08 '17 edited Oct 09 '17
I entered it after starting the checkout process but before entering my shipping and billing address (there was a link on the sidebar that said "enter discount code") and it worked after the second try.
1
1
1
1
1
10
u/[deleted] Oct 08 '17
Most of what I read in this book first time wasn't news to me, but I've always loved it, I'd be nodding my head at almost everything it says, and I like how it straightens out a lot of bullshit I hear from colleagues on what "proper OOP" is. It's a solid part of my arsenal, to use when someone starts telling me how static factory methods are a "bad practice" etc.
I'm looking forward to see what it says about the current "everything must be streams and Optional" craze that has infected the Java community. My guess is that it'd be a pragmatic and balanced look at these features, patiently enumerating pros and cons, I'd expect nothing less from Josh Bloch.