#region around implemented interfaces and code smell

Friday, April 18, 2008 – 6:48 AM

Some (not so) random surfing got me to this…

How to get rid of the auto-generated #region for implemented interfaces – Daniel Cazzulino’s Blog

There’s a setting in VS that allows you to turn off the #region generation when using VS’s implement interface feature (ALT-SHIFT-F10). 99% of the time I don’t want a region so now I don’t have to clean up the inserted code.

Hum… Maybe regions are code smell? A region smells like “my code is big and complicated” maybe it should be refactored into separate classes?

Technorati Tags:

Sorry, comments for this entry are closed at this time.