|
ProjectGoals
Project Goals for FuncitoMotivationI was starting to use Guava Functions and Predicates a little more seriously on a project I was on, and I noticed that I kept having to write boilerplate anonymous inner classes to create each Function or Predicate, even though many of them were doing nothing more than delegating to an existing method. This seemed wasteful, especially in light of the Guava goal to be a "productivity multiplier". The Guava team has even gone on record warning of the potential for Guava's functional idioms to lead to more verbose or awkward code. I decided to find a solution to simplify Guava Function and Predicate creation in the simplest cases. Every solution has its tradeoffs, and as I explored the options that were available, I chose the following criteria. Goals
|