Programming is the sort of career that if you don’t do it right, you gonna mess yourself up pretty badly.
This is a long-term game. You need to craft the right habits that will mold you everyday into following the right path.
1. Programming is a physically demanding activity. Good exercise and good sleep are essential for any programmer. Sit with your back straight. Take a break every 30 minutes. Drink lots of liquids. Take walks and get exposed to sunshine. You have to protect your body from getting deteriorated and destroyed into the shape of a chair.
2. Adopt a get-it-done attitude. Get things out the door. Get your eye on the go and than reverse engineer it. Don’t keep working on some strange small stupid little bug or problem for hours and hours trying to solve some puzzle you created in your head. Don’t over-romanticize the technology. Don’t keep working on something that never really ships. Be result-oriented.
3. Keep it simple and consistent. Don’t over-engineer your code. Don’t try to show-off how smart you are. That works against you.
4. Allow yourself to get in the “zone”. Have long stretches of time without interruption. 3 to 4 hours of specific undisturbed time to be productive. Build large abstractions and metal blocks in your head.
5. Always be learning. Sharpen yourself. Don’t get stuck in a certain routine. Be able to debug. Be able to learn a new environment, understand how the system was put together and diagnose it.
6. Collaboration. Don’t try to be that lone hacker. Don’t stay stuck on something without reaching for help. Programming is very much a team sport. You’re a team player in the digital domain.
7. Programming is a lonely activity. Probably one of the loneliest careers. Get used to be spending lots of time in your own. Lots of times in the digital world. It’s not a social job.