The evils of #region

Posted by DarrenFieldhouse on Geeks with Blogs See other posts from Geeks with Blogs or by DarrenFieldhouse
Published on Fri, 21 May 2010 11:03:48 GMT Indexed on 2010/05/21 11:20 UTC
Read the original article Hit count: 273

Filed under:

I’m not a big fan of #region, I use it occasionally but generally try to avoid it. It’s always frustrating to open a code file and be presented with nothing but collapsed regions – sure, it looks neat (and lets face, more than a few programmers are a little OCD) but I want to see the code, that’s why I opened the file in the first place!

Don’t worry, I’m not going off on a rant, I just want to direct you to a much more level headed explanation of The Problem With Code Folding. I couldn’t agree more.

© Geeks with Blogs or respective owner