News for hackers. Stuff that matters.
Re:Guido was right, there should be no lambda in Python (2018) by kazinator on Wednesday September 28, 2022 @03:26PM (#33012120)
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 }).

There are no comments on this comment yet.