Alex@lemmy.ml to Programmer Humor@lemmy.ml · 10 months agoA week of fprintfs has me wanting to code rust next weeklemmy.mlimagemessage-square106fedilinkarrow-up11.06Karrow-down118
arrow-up11.05Karrow-down1imageA week of fprintfs has me wanting to code rust next weeklemmy.mlAlex@lemmy.ml to Programmer Humor@lemmy.ml · 10 months agomessage-square106fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up50arrow-down3·edit-210 months agoyou 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.
minus-squaredarcy@sh.itjust.workslinkfedilinkarrow-up26arrow-down9·10 months agosure, but thats just outsourcing the problem.
minus-squarepotustheplant@feddit.nllinkfedilinkarrow-up35arrow-down4·10 months agoIt’s also a solution…
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up23arrow-down4·edit-210 months agoAs 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.
minus-squareaidan@lemmy.worldlinkfedilinkarrow-up1·9 months agoYea and C++ is the same thing, you just need to enable all the warnings on clang-tidy
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.
sure, but thats just outsourcing the problem.
It’s also a solution…
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.
Yea and C++ is the same thing, you just need to enable all the warnings on clang-tidy