|
No the point is not when you need a to consume a method reference. As long as java is type safe there will be a need to define the parameter and return type of a method reference/closure and the method object will need to be invoked. The point is when you PASS the code in to the consuming method. BGGA has the programmer use an entirely different syntax to specify what amounts to all the properties of a method. WHY? Why a new syntax for something that java programmers already do all the time? Why something that requires a programmer to wrap already existing methods into closures? What does BGGA have that FCM + JCA does not? |