• Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    3
    ·
    edit-2
    9 months ago

    you need a linter, bro

    when integrated into the editor it’ll highlight stupid mistakes as they’re typed

    I recommend Ruff for real time checks, and pylint if you need a comprehensive analysis.

    • aidan@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      Yea and C++ is the same thing, you just need to enable all the warnings on clang-tidy

      • Eager Eagle@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        As if that’s a bad thing… it means you’re not locked in with a tool you don’t like and the language itself doesn’t dictate your workflow.

        There’s very little benefit and a lot of potential problems in using a single tool for everything.