https://daringtolivefully.com/how-to-be-more-conscientious
https://einzelganger.co/how-to-increase-conscientiousness/
https://www.psychologytoday.com/us/blog/finding-new-home/201...
Be physically healthy:
https://www.harvardhealthonlinelearning.com/courses/cognitiv...
Some recent revelations I've had in the last few years that I've been applying with great effect:
- Write code that's clear, not clever. Other people who will have to read and understand it (including your future self) won't be impressed by "clever" code, it just makes it way harder to understand.
- Write code to be disposable. I know for a fact that in a few months time I'll have to revisit my code to refactor or add new functionality, and writing it with mindset that it should solve only the current problem and nothing else prevents code creep/YAGNI.
Each bug has description and commit that fixes it. If you can reason how bug was fixed, you will be good.
Also some projects have very good documentation. Read it from start to finish.
Do not drink coffe, sleep well, avoid stress.. anything that reduces your cognitive abilities...
- build things outside of your comfort zone
- work with smarter people than you
- be intentional about your work. Always have a theme of something you want to improve
And the biggest one:
- Choose to be an excellent developer.
Mindset is important. If you tell yourself you're an above average developer, you're more likely to improve your craft because it's part of your identity.
Writing a lot of tests also forces you to think about better ways to write code. It encourages you to write simple, modular, and often stateless code.
Linting and code reviews are important too. I learned a lot from my coworkers, but also from AirBnB's coding standards.
A few keys from it: 1- Push yourself out of your comfort zone; 2- Have clear, well-defined, goals for what you want to achieve, either in the overall skill and for each practice session; 3- Total focus while practicing; 4- Get feedback from people who know what you want to do looks like