1050
submitted 7 months ago by stsquad@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] eager_eagle@lemmy.world 47 points 7 months ago* (last edited 7 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.

[-] darcy@sh.itjust.works 17 points 7 months ago

sure, but thats just outsourcing the problem.

[-] potustheplant@feddit.nl 32 points 7 months ago

It's also a solution...

[-] eager_eagle@lemmy.world 19 points 7 months ago* (last edited 7 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.

[-] aidan@lemmy.world 1 points 7 months ago

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

this post was submitted on 02 Feb 2024
1050 points (98.3% liked)

Programmer Humor

32060 readers
1616 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS