Re:Cognitive Biases in Programming
by dualogy on Sunday October 15, 2017 @10:34AM
(#15477254)
What kind of example is this, the 1st is an entirely different 'program' than the 2nd? Unless f1 is a no-op.
[ Parent
| on HN ]
Yes, they're not the same program, but they're equally easy to write. I see people shying away from doing work in each iteration of the loop because of a feeling that it's more difficult to write the code.