• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Mastering Lambdas- Is reactive programming talked about?

 
Ranch Hand
Posts: 53
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This question is for Maurice. Is reactive programming mentioned in your book? Now that Java is becoming more functional and has Stream<T> operations, do you see the RxJava Observable<T> increasingly finding a place in Java land too?

Would love a copy of "Mastering Lambdas" just for the coverage on Spliterators and Stream<T> performance alone. Is creating custom Spliterators discussed as well?
 
Author
Posts: 20
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tom

I don't talk about reactive programming in the book. I've only glanced at RxJava, so my answer about this isn't especially well informed I can certainly see how useful lambdas would be in programming Observables, but don't think there's a direct link between the functional style of stream operations and the event-driven model of RxJava. I think the corresponding (but obviously far more primitive) feature in Java is CompletableFuture, which I wrote about here.

I do discuss creating custom Spliterators. But it's quite hard to think of an original example that isn't already covered in the JDK. The one I did manage to think of (it's a big part of Chapter 5) won't be original any more, as they took it and put it into JDK 9!

Regards
Maurice
 
The only cure for that is hours of television radiation. And this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic