Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit to #region nesting?
Message
 
 
À
13/09/2011 04:18:55
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01523118
Message ID:
01523387
Vues:
31
>>>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....

Never underestimate the ability of some developers to have rabid opinions on any given subject ;-) Years ago I worked with two of them. There were two main IBM mainframe operating systems, which hosted our commercial software. One was a fan of one and one was a fan of the other. They would get into spirited debates that would go on and on, often becoming angry. You half expected the vats of boiling oil to come out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform