|
|
|
|
|
by Deestan
4942 days ago
|
|
Not so much strange, as Twilight Zone-esque insane: All methods and properties must be commented with XML. Sounds like a good idea, until you see how this turns terse and readable code into a bag of chatty noise. Basically this: public enum ConnectionState {
Disconnected, Connecting, Connected
}
Was not compliant ("There's no comments! It's not readable!"), while this: /// <summary>
/// The Connection State.
/// </summary>
public enum ConnectionState {
/// <summary>
/// The Connected State.
/// </summary>
Connected,
/// <summary>
/// The Disconnected State.
/// </summary>
Disconnected,
/// <summary>
/// The Connecting State.
/// </summary>
Connecting
}
Was considered Compliant and Good. This example has not been simplified, by the way. |
|