Alex@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agoA week of fprintfs has me wanting to code rust next weeklemmy.mlimagemessage-square36fedilinkarrow-up134arrow-down10
arrow-up134arrow-down1imageA week of fprintfs has me wanting to code rust next weeklemmy.mlAlex@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agomessage-square36fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-29 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-up3·9 months agosure, but thats just outsourcing the problem.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-29 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-squarepotustheplant@feddit.nllinkfedilinkarrow-up1arrow-down1·9 months agoIt’s also a solution…
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.
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.
It’s also a solution…
Yea and C++ is the same thing, you just need to enable all the warnings on clang-tidy