5 ms·
From contribution guide > DO NOT USE #REGIONS full stop. Why is that?
by serge2k 10y ago
From contribution guide
> DO NOT USE #REGIONS full stop.
Why is that?
- grokys 10y agoBecause I hate them. EDIT: Ok, I'll explain :) : because when I open a file, I want to see the code, not folded regions telling me that it has constructors, properties, and methods. That's not interesting to me, it just obfuscates. There used to be an argument for using them for generated code, but partial classes are a much better choice for that. #regions make me unreasonably irritated ;)
- deleted 10y ago[deleted]