Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit to #region nesting?
Message
De
13/09/2011 04:18:55
 
 
À
12/09/2011 18:16:20
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01523118
Message ID:
01523369
Vues:
33
>>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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform