dst = src rather than src dst
Anders Bergh
anders1 at gmail.com
Wed Sep 5 06:18:43 PDT 2007
On 9/5/07, Janice Caron <caron at serenityfirefly.com> wrote:
> Please could D allow the following syntaxes
>
> alias dst = src;
> typedef dst = src;
>
> Instead of (or as well as)
>
> alias src dst;
> typedef src dst;
>
> I just prefer the destination on the left. Moreover, it would make for greater
> consistency throughout D. It would match up with assignment operators, module
> import renaming, and alias template specializations.
I agree 100%. To me "alias src dst" is confusing, I always forget the
order for some reason...
More information about the Digitalmars-d
mailing list