There is absolutely no difference between one and the other except the reading of the code by a human.
The alias figure as a keyword (keyword) of the language, but the use, function and operation is identical to using its type or equivalent class.
shorts, int, long, string... sane nicknames (alias) C# for your types in . Net Framework (System.Int16, System.Int32, System.Int64 and System.String, respectively) and during execution it will make no difference whether you used one or the other to declare the variable.
As for your colleague to do differently from what has been done and to claim that each one will encode in a way, it contradicts the common sense that the team should choose patterns, informally or formally if necessary, and everyone should adopt the standards.
When all the code follows the same pattern, after getting used to this pattern no one feels uncomfortable reading someone else’s code and we are excused from having to make the fateful read-mode "key" every time we read another code.
In addition to the style standards that avoid constant reader adaptations, there are also standards for safety, robustness, code quality. If a team does not even follow the style patterns, it will follow other even more important patterns?
One evidence of the importance of the team following an encoding pattern is the existence of specialized tools in it (for example: Stylecop, Fxcop and Resharper).
After all, there is justification for this amendment?
The only plausible justification is your colleague’s preference for this style he’s adopting.
Any other justification is lack of information or just a lie.
What language are you talking about ?
– Nelson Teixeira
Yes, it’s from
C#
(.NET
)?– brazilianldsjaguar
@Nelsonteixeira C# . Net
– Int