Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit to #region nesting?
Message
From
13/09/2011 04:18:55
 
 
To
12/09/2011 18:16:20
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01523118
Message ID:
01523369
Views:
32
>>Not to take this off course, but are you a fan of #region or not? Or does it depend?
>
>I agree with Viv (and Timothy and Bill) about the use of #region ... I use it pretty much the same way. I'm surprised this thread didn't get more comments though. I know a few people who don't agree with the use of #region ... they say that if you have to use #region, you have too much code. Which, of course, isn't the point we're making ... we don't *have* to use #region ... we think it makes for better (visually) organized code.

I've never understood the occasional rabidly anti-region posts that I come across. Presumably most coders find the inbuilt class/method outlining useful so the presence of regions shouldn't really confuse them. And if they don't like outlining at all then they are free to just turn it off....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform