readability

Flattening Arrow Code

code refactoring

Flattening Arrow Code

I often encounter code like this: if (rowCount > rowIdx) { if (drc[rowIdx].Table.Columns.Contains("avalId") { do { if (Attributes[attrVal.AttributeClassId] == null) { // do stuff } else { if (!(Attributes[attrVal.AttributeClassId] is ArrayList)) { // do stuff } else { if (!isChecking) { // do stuff } else { // do stuff

By Jeff Atwood ·
Comments
Code Colorizing and Readability

colorizing

Code Colorizing and Readability

Most developers, myself included, are content with syntax coloring schemes that are fairly close to Visual Studio’s default of black text on a white background. I’ll occasionally encounter developers who prefer black backgrounds. And I’ve even seen developers who prefer the white on blue scheme popularized by

By Jeff Atwood ·
Comments