• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Image from Amazon
Title: Modern Java Recipes
Author(s): Ken Kousen
Publisher: O'Reilly
Category: Java in General

Amazon wrote:The introduction of functional programming concepts in Java SE 8 was a drastic change for this venerable object-oriented language. Lambda expressions, method references, and streams fundamentally changed the idioms of the language, and many developers have been trying to catch up ever since. This cookbook will help. With more than 70 detailed recipes, author Ken Kousen shows you how to use the newest features of Java to solve a wide range of problems.



Book Preview (when available)


From the publisher
  • table of contents


  • Where to get it?
  • Amazon
  • Safari


  • Related Websites
    COMMENTS:
     
    author & internet detective
    Posts: 41860
    908
    Eclipse IDE VI Editor Java
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    “Modern Java Recipes” assumes you know some version of Java. If you've never used Java 8 before, it's a fast paced introduction that focuses on the parts you are likely to use. If you have used Java 8 before, it helps you learn more deeply along with understanding idioms and when to best apply various techniques.

    The book also covers key parts of Java 9. It was published while there was still uncertainty about what Java 9 was going to launch with. Conveniently for Ken, what was released for Jigsaw matches what he covered in the book! The intro to Jigsaw/modules is just the basics. The other features are smaller so able to be covered completely.

    I've been using Java 8 for a few years and still managed to learn some new APIs and techniques like codepoints. I like how Ken shows the primitive streams and uses at the same time he introduces the interfaces. I also learned that I've been writing resource leaks calling Files.lines() for years. Never thought to use try-wth-resources around it. Oops. And I was reminded to use Function.compose() andThen().

    I like that Ken uses JUnit to illustrate some concepts. There was one place I wanted him to use assertSame instead of assertTrue. I mention this because that was the only thing I disagreed with in the whole book and it's pretty minor (and not about Java 8/9 anyway!) One other minor complaint. The book mentions that @SafeVarargs is described in the appendix but I couldn't find it there.

    I give this book 10 out of 10 horseshoes.

    ---
    Disclosure: I received a copy of this book from the publisher in exchange for writing this review on behalf of CodeRanch.
     
    Marshal
    Posts: 79151
    377
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    More than the real basics. It is not a tutorial or anything, but a list of challenges and suggestions for solving them in Java8/9. They are grouped by type in to the chapters.
     
    Ranch Hand
    Posts: 54
    1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    I'm adding this to my reading list.
     
    Ranch Hand
    Posts: 285
    2
    jQuery Spring Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Hi All,

    I'm planning to buy a JAVA book for my reading after basics. I'm aiming to enhance my architectural skill using Java. May I buy this book or is any other best suggestion? I'm open to getting any other suggestions in my private inbox. Thanks for your in advance.
     
    Jeanne Boyarsky
    author & internet detective
    Posts: 41860
    908
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Mohammed: this is a good choice
     
    Consider Paul's rocket mass heater.
    reply
      Bookmark Topic Watch Topic
    • New Topic