Posts Tagged ‘scheme’

CICE is a proposal by Doug Lea, Josh Bloch and ‘Crazy’ Bob Lee. It is being touted as a “closures” proposal for Java 7 alongside Neal Gafter’s BGGA (for instance). Here are some thoughts I had after reading their document:
So basically, CICE is syntactic sugar for anonymous classes. In Guice parlance, the following:
bind(Service.class).toProvider(new Provider<Service>() {
public Service [...]