[ ArgumentList ] vs. @( ArgumentList )

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Wed Nov 7 13:46:26 PST 2012


On Wed, 07 Nov 2012 19:17:20 +0100
Jacob Carlborg <doob at me.com> wrote:

> On 2012-11-07 16:51, Nick Sabalausky wrote:
> 
> > vote++
> >
> > It has all the benefits of '@(...)' (which are very compelling on
> > their own), but also has the *ONE* benefit of '[...]': Much less
> > getting lost in stupid parenthesis, as demonstrated here:
> > http://forum.dlang.org/thread/k7afq6$2832$1@digitalmars.com?page=14#post-puseurlcwbgvigwkdowu:40forum.dlang.org
> 
> This is how that example would look like with my syntax:
> 
> http://pastebin.com/8Ve5KS49
> 
> I think it looks better in most cases
> 

Well, I'm in favor of the @attr shortcut regardless of @[] vs @().



More information about the Digitalmars-d mailing list