11 likes
·
141 reads
2 comments
·Mar 18, 2023
Mar 18, 2023
Interesting point of view. How do you feel about a class of classes, e.g.
public static class GlobalConstants
{
public static class MaxPlayers
{
public const int MaxPlayers = 10;
}
public static class DefaultLanguage
{
public const string DefaultLanguage = "en-US";
}
public static class Math
{
public const double Pi = 3.14159;
}
}
1
·
·1 reply
Author
·Mar 26, 2023
IMHO, Nested classes are yet another code smell
·