3 ms·
Ah, ok, sorry. When I see someone to curse goto I become mad! goto statement is God sent gift.
by ruslan 3y ago
Ah, ok, sorry. When I see someone to curse goto I become mad! goto statement is God sent gift.
- sirwhinesalot 3y agoI couldn't implement this defer macro without it.
- ruslan 3y agoBtw, using goto to different labels is no good for modern CPUs as it spoils branch predictor. In classic Linux way it's usually goto to same "end" or "fail" label resulting in more efficient code. Let's hope compiler will rule this out. ;)
- sirwhinesalot 3y agoWhat you save in the gotos you "lose" in the ifs.