• 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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: 12343
201
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
Ranch Hand
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!