Alex to Programmer Humor · 11 months agoA week of fprintfs has me wanting to code rust next weekimagemessage-square106fedilinkarrow-up11.07Karrow-down118
arrow-up11.06Karrow-down1imageA week of fprintfs has me wanting to code rust next weekAlex to Programmer Humor · 11 months agomessage-square106fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up50arrow-down3·edit-211 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·11 months agosure, but thats just outsourcing the problem.
minus-squarepotustheplant@feddit.nllinkfedilinkarrow-up36arrow-down4·11 months agoIt’s also a solution…
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up23arrow-down4·edit-211 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·10 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