foo!(bar) ==> foo{bar}

superdan super at dan.org
Wed Oct 8 07:54:01 PDT 2008


Denis Koroskin Wrote:

> On Wed, 08 Oct 2008 18:22:21 +0400, superdan <super at dan.org> wrote:
> 
> > Walter Bright Wrote:
> >
> >> Dee Girl wrote:
> >> > I did not follow this group recent. School started. Sorry! I just see
> >> > now and please add my vote if possible. I start with D recent and I
> >> > remember beginning. foo!(bar) was not pleasant. Like forced
> >> > convention with a bad char. And friends I show code never like it. It
> >> > is first thing they say why they do not like D. For me foo{bar}
> >> > better idea. Thank you, Dee Girl
> >>
> >> What do your friends think of { } ?
> >
> > School started. Every one so busy now. But I think does not matter any  
> > more ^_^
> >
> > I want to make little idea. Sorry if idea mentioned before (I did not  
> > read every thread). I think we can look square brackets []. Let me  
> > explain why.
> >
> > Paren () is over used in C and in D. Any expression can be in (). And  
> > adding () is possible in many cases. But it is not same with []. For  
> > example a:(b) is ambiguous but a:[b] is not. So there are many signs  
> > possible after symbol and before [. They are:
> >
> > ~ ! @ # $ % ^ & * - + = | \ / , < . > ? :
> >
> > But after symbol and before ( only few symbols possible
> >
> > ! @ # $ \ .
> >
> > Andrei had idea change ! to . before (. But if [] are chosen other ideas  
> > are possible. There fore I thing [] more promising than () for template.  
> > Also that is good because as I said () already over used. Thank you, Dee  
> > Girl
> 
> Ahem... supergirl?

that cat was gonna get outta the bag sooner or later. lets say dee sometimes uses my laptop and forgets to change the autocompleted field.



More information about the Digitalmars-d mailing list