C# has support for type aliases in the form of
using ScoreMap = System.Collections.Generic.Dictionary<string, int>; directives. This allows us to use
ScoreMap instead of the verbose
System.Collections.Generic.Dictionary<string, int> or even
Dictionary<string, int>. C++ also has type aliases, but they go way beyond what C# supports. Today we’ll dig into everything C++ offers us to make our code more concise and readable.
Read the rest of this article »