• 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Book question: lambda expressions and existing projects  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if this is answered in Kishori's books: I work on a Struts web application with lots of legacy code. Do you have examples of how the power of lambda expressions can help improve code in existing projects without spending an awful lot of time on refactoring?

Also, which of your books is best for experienced Java programmers who want to learn what's new in Java 8?
 
Sheriff
Posts: 12748
210
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that Beginning Java 8 Language Features and Beginning Java 8 APIs, Extension and Libraries are books that you would want to look at.

As far as refactoring legacy code to use lambda expressions, I think there are certainly opportunities to leverage the expressiveness and elegance that lambda expressions can bring but unless things are absolutely horrible in your legacy code, I would be inclined to leave well enough alone.
 
Author
Posts: 43
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rolf,
Junilu has answered your question correctly.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!