These are the principles I instill in my team members as I mentor them. I've picked these up throughout my career from mentors of my own, as well as other idols in the industry to form what I believe to be the ultimate software engineering philosophy.
Here are 10 LOC to internalize and apply to your daily work as you face technical problems:
Clearly understand the "why" behind what you're doing.
Solve the immediate problem and don’t over-engineer or prematurely optimize.
Know how to judge a job well done. How do you know what you just did is working?
Simple is better than easy.
Write code for humans, not for computers. Write intentionally with empathy and convey context for others.
Use the best tool for the job.
Be ruthless in the pursuit of clarity.
Research "prior art" to avoid reinventing the wheel.
Work smarter rather than harder.