Static operator overloads are possible why?

Manfred Nowak svv1999 at hotmail.com
Sun Jul 8 20:03:06 PDT 2007


GilesBathgate wrote

> If you can translate this C# code into D I will give you a medal

As some replies might have shown, it is unclear what you might mean 
with "translate".

<elaboration>
In a game with main language german a german tourist in China asks a 
passerby "Sprechen Sie deutsch?", which means "Do you speak german?"

The correct _translation_ to english would of course be "Do you speak 
german?" But why would a native english speaker ask some one in China 
whether he speaks german?

So: the correct _transduction_ would be "Do you speak english?"

Because you are a programmer this elaboration should be enough to put 
you on the tip of the iceberg.  
</elaboration>

-manfred



More information about the Digitalmars-d mailing list