The Source for Java Technology Collaboration
User: Password:



Start New Message Post a Reply

Subject:  BGGA... With perhaps some syntax tweaking..
Date:  2008-02-17 13:38:16
From:  talden


It's BGGA for me... I like the examples from Zdeněk Troníček referenced on Neal Gafter's blog...

Some of the examples highlight to me though, how easy it is to glance over a section of code and mistake => as part of a conditional expression. Given the significance of the operator I'd prefer replacing

{ int x => a <= x && x <= b }

with

{ int x # a <= x && x <= b }

Also it'd be nice to see if the ".invoke" could be dissolved as it's merely a distraction whose only redeeming feature is symmetry with the closure conversion syntax.

 Feed java.net RSS Feeds