DEV Community

Cover image for What are you doing now that your future self will thank you for?

What are you doing now that your future self will thank you for?

Craig Nicol (he/him) on January 08, 2021

There’s a lot of productivity guides and self-help advice out there, but if you really want to make a lasting change, you need a mantra or a questi...
Collapse
 
matthewbdaly profile image
Matthew Daly

Using Psalm and CodeSniffer on my PHP code, and ESLint and Flow on my Javascript.

Linters like CodeSniffer and ESLint make a massive difference in terms of the readability of a code base, and actively looking to find and add new linter rules is never a bad idea - using jsx-a11y has been particularly illuminating in my React components. And static analysis tools like Flow and Psalm make possibly even more difference - I maintain a large and messy Zend 1 legacy code base which I'm slowly tidying up and modernizing, and they've highlighted multiple issues for me that I wouldn't have caught otherwise.