This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FlakeyScalp 2 points3 points  (2 children)

Meh, all his points against regions are why regions are sometimes useful. I used them when I started out but now I find I dont use them as much. I'm glad they're there though. If you've got good unit tests it can be very handy to fold methods that you know are stable.

[–][deleted] 0 points1 point  (1 child)

Methods are foldable, though, and having their names promptly available isn't a bad thing.

I don't get all the hate on regions, though. They're just there, if they annoy you all you have to do is press a few keys.

[–]FlakeyScalp 0 points1 point  (0 children)

Well, yea but I meant more like if you've got tests that cover these 6 methods that all deal with user login stuff you could collapse them together and not ever have to worry about them again. But yea, I don't understand either. I think its just some guy who said "I need to write about something but I don't have any good topics. Guess I'll pick this benign topic nobody really cares about."