dst = src rather than src dst
    Christopher Wright 
    dhasenan at gmail.com
       
    Wed Sep  5 19:59:00 PDT 2007
    
    
  
Nathan Reed wrote:
> Kirk McDonald wrote:
>> The fact that the syntax looks nothing like assignment underscores the 
>> fact that /it is not an assignment/. I would classify the proposal as 
>> a foolish consistency, but I wouldn't really care if it were added. 
>> (Except that adding redundant syntaxes for the same operation is 
>> rarely a good idea.)
>>
> 
> I second the proposal someone already made of allowing
> 
> alias Foo as Bar;
Is that:
class Bar;
alias Foo as Bar; // treat identifier Foo the same as Bar
or:
class Foo;
alias Foo as Bar; // refer to Foo as Bar
And I'm a native English speaker.
On the other hand, the equals sign is quite unambiguous because it's a 
close analogy to existing assignments.
    
    
More information about the Digitalmars-d
mailing list