On Tue, 16 Oct 2012 05:00:56 +0200
"stas" <[email protected]> wrote:

> For me syntax alias int Int; seems unnatural.
> I'd love to write
> alias Int = int;
> alias fptr = void(int)*;
> 
> This looks much more readable for me and harmonized with
> int x = 0;
> template T(alias A = Object) {...}
> 
> Does anybody share this opinion?
> Any chance this syntax goes into D someday?

I'm pretty sure it was already decided that this would be added, but
just hasn't made it in yet. I've been fairly eager for it. I find the
current syntax too inconsistent and confusing.

Reply via email to