DEV Community

Discussion on: What is your top tool that most devs would be surprised you use regularly?

Collapse
 
philipperoubert profile image
Philippe Roubert • Edited

Something I highly recommend is code linting, it's essentially a code scanner that analyses your code for bugs and other issues such as stylistic conventions.

Python Linter Image Example

For example, Python has PyLint (there are other linters available too), it's really useful. They should be available on a majority of editors and IDEs I believe. A cool thing about PyLint is that it follows the PEP8 guidelines where it kindly reminds me that my variables should be snake case instead of camel case or that I need to add a docstring to my new function. Definitely worth a look!

Collapse
 
codingmindfully profile image
Daragh Byrne

I work on a project where the build fails if you break the linting rules. It's awesome.

Collapse
 
tkdmzq profile image
TKDMzq

is there a quick fix auto applied when possible. I once had set up something like that and after adding --fix or something like that I never had to worry about cases for that project.

Aslo faling on warning in rust was a good eay to learn proper language style

Thread Thread
 
codingmindfully profile image
Daragh Byrne

yep auto fix, which works up to a point. I'd rather have it manual that completely trust the linter to fix everything though, oldschool like that :)