Alex@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agoA week of fprintfs has me wanting to code rust next weeklemmy.mlimagemessage-square107linkfedilinkarrow-up1726arrow-down19
arrow-up1717arrow-down1imageA week of fprintfs has me wanting to code rust next weeklemmy.mlAlex@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agomessage-square107linkfedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up33arrow-down2·edit-22 years 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-up20arrow-down6·2 years agosure, but thats just outsourcing the problem.
minus-squarepotustheplant@feddit.nllinkfedilinkarrow-up28arrow-down4·2 years agoIt’s also a solution…
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up17arrow-down4·edit-22 years 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·2 years 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