News for hackers. Stuff that matters.
Re:A Defer Mechanism for C by josephcsible on Monday December 14, 2020 @05:28PM (#25424243)
My point is that you know at the end of the while loop, it's going to test the loop variable you wrote at the beginning, no matter what's in the loop body. The fact that other things could change the variable isn't relevant. With defer, you don't know what will happen at the end of a block without looking through the whole thing.
Re:A Defer Mechanism for C by saagarjha on Monday December 14, 2020 @07:33PM (#25425457)
Why does it matter so much what code runs at the end of a block?