10 pieces of advice for new developers
by Charlie Harris
We asked Twitter "What piece of advice do you wish someone had given you when you started writing code?". Here are the 10 most popular responses:
For those just learning to code now- remember when you were learning to drive? You had to think about everything constantly- but eventually the car became an extension of yourself. That's how it will be. You will eventually have muscle memory built into many tasks. Stick with it.
For me it would be “build your way forward.” Don’t get stuck because you can’t build the perfect thing you have in your head yet. Build a crappy version 1. Learn. Build a crappy version 2. Learn. Repeat, repeat, repeat. Soon enough, your versions won’t be crappy at all.
Don’t overengineer things. Write easy to follow well documented code. If you come back to your own code 6 months later, it should be easy to pick up. Don’t start “Don’t Repeat Yourself” refactoring too early. It’s better to have duplicate code which is easy to refactor