Comment Comment by corps_and_code Maybe they mean rather than:if (thingThatIsTrue): // a bunch of logic here... else: // different logic here... they mean:if (thingThatIsTrue): return doThisWhenTrue() return dothisWhenFalse()Just a simple example. I'm not sure if this is what you consider "obfuscating" the branches. Logically the same, but a bit more linear to understand?Edit: I am bad at formatting comments here. parent corps_and_code 1 month ago
if (thingThatIsTrue):
else: they mean:if (thingThatIsTrue):
return dothisWhenFalse()Just a simple example. I'm not sure if this is what you consider "obfuscating" the branches. Logically the same, but a bit more linear to understand?
Edit: I am bad at formatting comments here.