Mastering Lambdas: Java Programming in a Multicore World (Oracle Press)
P**T
Great explanation of streams with interesting code examples
Very interesting read, particularly the chapters about streams, going into the details of collection and reduction, sources and spliterators, and performance, with great examples.I've programmed with Java 8+ for a few of years now and I wish I had read this sooner, maybe after a year of writing streams and lambdas.It's probably too technical for someone just starting with Lambdas and Streams, but should be very beneficial to anybody after a year or two of Java 8 experience.
E**M
Very insightful! I think a lot of old java ...
Very insightful! I think a lot of old java code should be re-written now to utilize lambda's. Which would make the code very much more error proof.
D**K
Hard to read.
The book is very hard to read. The author did not even try to be more or less simple. This is especially strange because lambdas have long bean a feature of other programming languages. Java people did not invent it but presented in their complicated and unclear way as usual.Otherwise, the content is good. It is not an introduction, rather an explanation why it was done this way. (Again, it is written as though they invented lambdas and higher order functions, which they didn't). The book may be useful for those who want to better understand Java APIs.
G**E
Best Java-8 book on new features
Best Java-8 book around. I have 6 others, this is the most clear, and with a simple logical presentation, yet still very complete.
J**Z
Five Stars
This book comes from the source, and no surprise that it has unique insights
T**Y
Difficult to understand
I am Java developer and in the industry for more than 8 years developing Java based application. I am already using Java 8 so bought this book to take my skills to the next level but after reading first two chapters i decided not to continue because it was difficult to understand even the basics which could have been explained in much easier way.I believe its good book but for me it didn’t work.
A**.
5 Star book
Good examples, easy to read, broad coverage, well balanced theory\code. Worth every dollar.
C**A
Learn Lambdas now
Excellent book on lambdas and how to use them.
N**9
Too much filler, not well organized
I found this book to be too long - most of the content could have been succinctly described in half the number of pages. Not only that, but it is horribly organized. The author begins to describe something but doesn't describe the concept in full in the same chapter or section. Instead, it's covered a chapter or so later, and then you have to go back and try to tie it all together to get the full picture.Personally, I found the java api docs documentation to be much more informative and although the author covers a lot of ground, i didn't find the organization and quality of writing to really be effective enough for me.
V**I
Very best book so far
One of the best book, You love it and I easily followed it
C**N
Ideal to get a foothold in lambdas and streams in Java
Describes and explains two innovative functionalities brought by Java 8: Lambdas and Streams. In addition to providing examples of Streams usages, the author sketches their implementation and benefits. The part devoted to lambdas is enriching too, it allows to understand where the syntax comes from and why they have been introduced into Java.I really liked going through this book.
K**I
Solides Grundlagenwerk mit verständlichen Beispielen
Dieses englischsprachige Buch stammt von einem Autor, der an der Einführung der Lambda-Ausdrücke und damit zusammen hängender Features (Default-Methoden in Interfaces, Methodenreferenzen) in Java 8 beteiligt war. Die Kapitel des Buchs, und jedes Kapitel für sich, sind/ist gut und übersichtlich strukturiert.Der Autor liefert dem Leser zu jedem Feature:- Eine Erklärung (ohne große Voraussetzungen), woraus der Bedarf an dem Feature entstand und welche Vorteile/Lösungen durch seine Einführung entstehen.- Eine teilweise sehr detaillierte technische Beschreibung, wie das Feature technisch umgesetzt wurde, wie es anzuwenden ist, und welche Fallstricke dabei zu beachten sind.- An sinnvollen Beispielen, von einfach bis umfangreich, wird vorgeführt, wie die Features verwendet werden können.Das Buch deckt eine große Spannweite ab:- Die einfachen Beschreibungen und Beispiele sind für alle Leser geeignet, die mit den einfachen Grundlagen von Java vertraut sind.- Auf der anderen Seite gibt es Einblicke in sehr technische Details, die für die volle Ausschöpfung des Potenzials der neuen Features erforderlich sind, die aber schon eher Java-Experten zum Adressaten haben.Das Gute ist, dass man die komplizierten Teile immer überspringen kann und im nächsten Kapitel wieder einen guten einfachen Einstieg findet.Positiv hervorzuheben ist auch, dass der Autor bei allen Features auch angibt, wo und warum problematische Fälle auftreten können.Das Einzige, was man sich als Anwender der neuen Features noch mehr wünschen könnte, wären mehr einfache Beispiele, die die verschiedenen Anwendungsfälle beschreiben - im Sinne eines "Kochbuchs" mit Programmierrezepten. Dadurch würde der Umfang des Buches aber noch wesentlich zunehmen, und es war vielleicht auch nicht die hauptsächliche Ausrichtung des Buches.
D**A
You need to buy at least 1 book on Java 8 - and this is the one to get!
Java 8 with its introduction of lambda expressions is the biggest change to the Java language since it was created some 20 years ago. No escaping from it - if you want to stay relevant as a Java programmer you will need to know about lambda expressions and it is certainly worth the effort to really get to grips with the new semantics and paradigms that Java 8 delivers.Naftalin's book is actually the 3rd book I've read on the subject. The first 2, whilst reasonably well written, didn't really deliver much more than I could have learnt by reading the numerous tutorials out there on the web. Any Java 8 tutorial will explain how to use Lambdas in your code and if that's all you want then you don't really want to buy a book at all. When I buy a book I expect a lot more than that. I expect a beginning, a middle and an end. And to this expectation Naftalin delivers beautifully. He explains the rationals and motivations of Lambda expressions. Are they just a sprinkling of syntactic sugar? No, he explains, they are much more than that. He sets the scene, as is hinted to in the title of his book 'a multicore world' and explains how Java needs to adapt to continue to hold its own so that it will still be one of the most important languages for the next 20 years.I've been using Java 8 for the last 6 months and am fairly well aquatinted with the syntax but when I read his description of the syntax I could only wish that I had this book 6 months ago! Naftalin has clearly put a huge amount of effort and consideration into how he delivers his ideas, which is why, perhaps, it wasn't one of the first books on the market to greet Java 8 as it appeared in the early part of last year.Some books go off on a tangent trying to introduce their readers to functional programming through lambdas. I think that is a mistake. I've been a Java programmer since the language emerged and have no wish whatsoever to change my programming style into a functional style. If I would want to do that I would use a functional language like Erlang etc. I want to continue using Java but to introduce some new concepts that can be delivered through Lambdas. The declarative nature of the Lambdas are extremely nice but we don't have to throw out the proverbial baby with the bath water and ditch everything that is good about OOP. I believe that Naftalin shares this opinion as is evident by the way in which he introduces as to practical uses of lambdas in our code.In conclusion, I would highly recommend recommend this book to any Java developer that wants to get a real understanding of lambdas. The book is extremely readable, not particularly long (all the best books are short) but will tell you everything you will ever need to know about the subject. If you digest all the information in this short book you will be a far better programmer than someone who has just read a few tutorials on the web!
Trustpilot
1 week ago
1 week ago