…from people who seem to refuse to install paredit or coloring plugins for either? ps lisp syntax ftw, it’s a feature!

  • @Lysergid@lemmy.ml
    link
    fedilink
    -31 month ago

    No it’s how Python wants you to format. Many times I want to separate two logical sections in one function and can’t coz Python go crazy

    • Diplomjodler
      link
      fedilink
      61 month ago

      Just put them in separate functions. If you have too many levels of indent, your code is convoluted. Sticking to the line length limit sometimes forces you to write more lines than you’d like to. But it makes everything so much more readable that it’s 100% worth the trade off

      • @xmunk@sh.itjust.works
        link
        fedilink
        31 month ago

        What if the logic is more readable in one function?

        I use whitespace to make my code more legible, python forces more whitespace consistency but it comes at the cost of limiting the legibility.

    • @AdamBomb
      link
      English
      51 month ago

      Are you saying that you want to separate your two logical sections by having different levels of indentation and that’s what makes Python go crazy?