• Ephera
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    Torvalds wrote this about C. There’s plenty languages where it’s much more common and less of a complexity indicator to open up scopes.

    • naught@sh.itjust.works
      link
      fedilink
      arrow-up
      6
      ·
      4 months ago

      Correct, I linked the source of the quote. My implication is the general idea is applicable here. Is python one of these languages where it is idiomatic to nest code deeply?

      The Zen of Python:

      Flat is better than nested.

      From the python I have seen and written, deep nesting is avoided.