I would swap Python with C++. Constantly dealing with stupid runtime errors that could’ve been easily captured during compile time.
Did you forget to rename this one use of the variable at the end of the program? Sucks for you, because I won’t tell you about it until after 30 minutes into the execution.
I would swap Python with C++. Constantly dealing with stupid runtime errors that could’ve been easily captured during compile time.
Did you forget to rename this one use of the variable at the end of the program? Sucks for you, because I won’t tell you about it until after 30 minutes into the execution.
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.
My brother. That’s why you do unit tests.
And lint
👆 definitely linting first 👆
finding errors as you type is even better than finding errors at compile time