3 ms·
With indentation-only based delimiting, you don't know whether you're seeing the whole thing: def check(situation): if situation.under_nuclear_attack:
by kazinator 4y ago
With indentation-only based delimiting, you don't know whether you're seeing the whole thing:
def check(situation):
if situation.under_nuclear_attack:
situation.set_alert_level(RED)
-------------- bottom of window -----------------
Is that the whole function? Does it forget to launch the counterstrike? Or is there more? We don't know without scrolling down.
You can change the meaning of code, without changing its whitespace sensitive diff (git diff { -w | -b }).