Re:The Shapes of Code
by hinkley on Tuesday January 28, 2020 @03:48AM
(#22167622)
I used to push hard for my favorite indentation style, and at one point I figured out that a big reason I could find bugs so fast was that, given reasonable formatting, I could see code smells just from the shape.
If the bug wasn’t in the ugliest part of the code, then that code likely had two bugs in it.
If the bug wasn’t in the ugliest part of the code, then that code likely had two bugs in it.