• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Modern Java Recipes: Simple Solutions to Difficult Problems in Java 8 and 9

 
Ranch Hand
Posts: 485
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This book looks pretty useful.
Are most of you recipes examples of things that are already documented/somewhat documented or does your book go into solutions that are not well documented or do you cover both?

Do you have an example in the book of a solution to a problem that is likely to come up but  is not commonly documented ?

thank you,
Paul
 
gunslinger & author
Posts: 151
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book started out as a way for me to remember solutions I'd collected from various sources on the web, like how to convert a java.util.Date into a java.time.ZonedDateTime, or how to use boxed streams (and why I needed them in the first place), or what the supplier, accumulator, and combiner arguments to the collect method meant, and so on. I kept adding items on how to use flatMap, or how to use downstream collectors, or how to change the default pool size on the common ForkJoinPool. Eventually I went back and added the basics as well, but that's not the order in which the recipes were written.

A year earlier I'd written the O'Reilly book "Gradle Recipes for Android", so I thought writing another recipes book for the same publisher would be easy. Sigh. Live and learn, I guess.

(Btw, if you go to gradle.org and register, you can download a pdf of Gradle Recipes for Android for free. It's also available on Safari, of course.
 
paul nisset
Ranch Hand
Posts: 485
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thank you Ken.
I can think of a better reason to write a programming book. I also keep a list of tips or solutions I pick up but probably won't remember.  

I'll probably follow up on your tip about the Gradle book as I've started learning Android lately.

cheers,
Paul
 
A teeny tiny vulgar attempt to get you to buy our stuff
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic