The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  FCM for me
Date:  2008-02-18 03:19:24
From:  npiguet


FCM feels like it is a much needed and natural extension of java. Semantics of keywords such as return and break basically do what you expect them to do. The meaning of this in FCM is also well defined and intuitive.

I also like the fact that it creates an actual method type, that you can use as a method argument, and actually pass existing methods by reference. This finally gives me a way to do some dynamic bean and property get/setting in a type safe manner avoiding the use of the reflection API and its 5 Exceptions that always need to be caught.

I know syntax is probably not something to bitch about just now, but clearly BGGA is extremely weird and confusing. FCM fit the java style much better by using a syntax for method/function type that is reminiscent of the way you normally declare a method.

My opinion is that FCM will probably cover 95% of the real use cases that BGGA can also do, but with only 20% of the added complexity, hence making it a much better deal for us developers.

 Feed java.net RSS Feeds