This week's book giveaway is in the Python forum.
We're giving away four copies of Python Continuous Integration and Delivery and have Moritz Lenz on-line!
See this thread for details.
Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

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: 13164
219
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!