| ▲ | corps_and_code 4 hours ago | |||||||
Maybe they mean rather than: 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. | ||||||||
| ▲ | taink 3 hours ago | parent [-] | |||||||
Putting two spaces before the line formats is as code. Example: No space before start of line. One space before start of line.
Thus, you can put multiple lines of code with indentation as well as long as you put two spaces at the start of the line:int main() { return 0; }
See https://news.ycombinator.com/formatdoc | ||||||||
| ||||||||