These are chat archives for dennisdoomen/CSharpGuidelines

10th
Sep 2015
Oleg Kleyman
@OlegKleyman
Sep 10 2015 00:11
er I don't understand what you mean by "it wouldn't surface bugs". Wouldn't an incorrect integer cause a bug?
Dennis Doomen
@dennisdoomen
Sep 10 2015 19:00
Yeah, but if you're looking at the constructor invocation, and notice that SegmentCharacterCount, you wouldn't be able to see whether the underlying parameter represents a character count. It could be some integer with a completely different purpose.
Oleg Kleyman
@OlegKleyman
Sep 10 2015 19:29
well that's my argument, if you don't know what the documentation of the base is then the name of the constant is irrelevant because you shouldn't review/modify code you don't understand