News for hackers. Stuff that matters.
Re:Cognitive Biases in Programming by metaobject on Sunday October 15, 2017 @11:29AM (#15477528)
Assuming f1() has side effects, those two blocks of code may be very different.
Re:Cognitive Biases in Programming by mikeash on Sunday October 15, 2017 @12:41PM (#15477885)
Of course. The point is that people seek solutions of the first form thinking that it’s easier to write.