By anlarionov
via community.livejournal.com
Published: Jul 02 2008 / 16:44
There are cases where functional style is the most appropriate, and among these cases are those where it can be used in java without sacrificing readability.
These cases are exactly what I'll discuss.
I'll also discuss refactoring of 'unconsciously functionalish' code (like new AndFilter(new FieldMatchesPatternFilter(new FieldReference("name"), ".*John.*"), new BlaBlaBlaFilter())) for readability.
Add your comment
Voters For This Link (13)
-
anlarionov -
deterb -
sereda@gmail.com -
jkff -
vpatryshev -
Sankozi -
spajus -
Volume4 -
MarisO -
bloid -
yardena -
a-kogun.livejournal.com -
ykurok