13
Comments
  • 1
    I use regions occasionally but wrapping a try statement in one just means it's doing way too much shit
  • 0
    I think that using regions is an immediate sign of a code smell. 🤔
  • 1
    I hate regions so much.. I once joined a project where they used them for everything (constructor, fields, properties, x methods, y methods, etc).

    So I told them that if they made the classes smaller they wouldnt need them. Took a couple of weeks but then most people stopped using them.
  • 0
    Well we have a project at work which required us to do create an entity class with about 100 attributes.
    It being Java, this brings hundreds of lines of getter/setter code. I think that's a valid reason to use regions.
Add Comment