Venkat,
I noticed that this is the Second Edition of the book and both Amazon and the Pragmatic Programmer's website say "Updated to the latest version of
Java, this edition has four new chapters on error handling, refactoring to functional style, transforming data, and idioms of functional programming." Without posting large chunks of the chapter, could you give me a feel for how to go about "refactoring to a functional style"? I think part of my problem is the idea that refactoring means not changing the code's behavior, how can you refactor code that has side-effect to a functional style?
Hoping this makes sense,
Burk
SCJP, SCJD, SCEA 5
Voted JavaOne Rock Star in 2010 and recognized as a Java Champion in 2020.
"Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)