Re:What Makes Code Hard to Understand?
by groovy2shoes on Thursday April 25, 2013 @04:17PM
(#5609592)
I haven't had time to brush up on C++11 yet. Is pubic a new keyword?
In all seriousness, you make some good points, but I don't think they invalidate the findings so much as they demonstrate avenues for further inquiry.
I could easily redesign the horizontal whitespace test to show that horizontal whitespace matters.
Compare: spot the error
Now spot the error here Similarly the rectangle with tuples. I'm only guessing on this one but I suspect if you change it to vectors then Is far more understandable than And that the more complex the math the worse it would get. Even for rectangles a larger example that did various intersections and unions I suspect the results would change.