Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Please use this page to document all the ideas and wishes you'd like to see in Groovy.

  • Support standard for statement. (Note: supported by the JSR grammar.)
    e.g. for (int i = 0; i < 5; ++i)
    Unknown macro: {...I don't know whether the standard for statement is still not implemented till beta-10, or Groovy will not support it in 1.0 release.* *Notion of Performer* (initially developped in Smalltalk by Didier Simoneau) }
    def aPerformer = aTargetObject << aMethodSymbol;
    aPerformer.evaluate(); // to execute later the method on an object.
     
    The main purpose of the performer is to be used with GUI adaptors, ie the ability to define callbacks easily;
    Example :
    aButton.onDownClick(delegatedObject << #click); //#click is similar to the Smalltalk symbol concept representing a method
  • No labels