February 25, 2014
Found a great article on http://venturebeat.com about 10 best practices for developers, curated from engineers at some of tech’s biggest sites such as Google, Pinterest, and more.
The article is worth reading, but here’s a summary:
- Think carefully before you choose your first language
- pick a language based on the community
- You’re no code monkey!
- understand the motivation behind why you’re being asked to build something
- Stay agile and don’t stop shipping
- fail fast, always be testing, release early and often, practice TDD
- Stay in control of the testing process
- TL;DR: TDD is awesome, do that.
- If you’re a freelancer, learn to say no, even to money
- assume all estimates of time and money are half what they should be
- Don’t rest on your laurels — theory matters, but practice matters more
- doing > reading
- side projects are awesome, but focus on one at a time
- Peer review is your secret weapon
- pair programming is awesome because feedback is essential
- Avoid premature optimization like the plague
- You write your code once, but people will read it thousands more times
- pretend the person maintaining your code is a violent psychopath who knows your home address
- It’s a noble profession. Use your skills for good.
- don’t do evil