bearophile wrote:
When I see a syntax like: alias foo bar; I often have troubles understanding if the new name is bar or foo. A syntax like: alias foo as bar; Is less ambigous. Now feel free to go postal :-)
The more common suggestion is: alias bar = foo;This has the advantage of looking like renamed imports and not adding keywords. Additionally, C# uses similar syntax:
using Name=My.Really.Long.Namespace.CollidingName;