|
As the proposer of C3S I obviously support that proposal:
http://www.artima.com/weblogs/viewpost.jsp?thread=182412
I think it combines simple semantics, no need for closure conversions, restricted closures, etc., and clear Java like syntax that uses an unabbreviated keyword, e.g.:
withLock lock, method{out.println "Hello"};
|