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

Leandro Lucarella llucax at gmail.com
Tue Oct 7 14:26:07 PDT 2008


Andrei Alexandrescu, el  7 de octubre a las 10:38 me escribiste:
> Leandro Lucarella wrote:
> >Jarrett Billingsley, el  6 de octubre a las 16:04 me escribiste:
> >>On Mon, Oct 6, 2008 at 3:52 PM, Walter Bright
> >><newshound1 at digitalmars.com> wrote:
> >>>The foo.(bar) syntax seems to be sinking. The foo{bar} seems to be the most
> >>>practical alternative. So, how about putting it in the next D2 release on a
> >>>trial basis, so people can try it out and see how it looks?
> >>>
> >>I guess it's OK but I still don't see why anything has to change.
> >>There are much bigger fish to fry.
> >Amen!
> 
> New/potential users are big fish. There has been quite a bit of opinion
> that the Slashed-Eye Sad Guy is offputting at least at first.

If new users is the issues, enum shouldn't be used to define manifest
constants. That was easy to implement (this is one argument to use for
this change to be introduced), and didn't introduce a new way to do
things in D (which is why I don't think it's a good idea to add a new
syntax for template instantiation).

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Dale tu mano al mono, pero no el codo, dado que un mono confianzudo es
irreversible.
	-- Ricardo Vaporeso. La Reja, Agosto de 1912.



More information about the Digitalmars-d mailing list