Clean Code - alexdaube/My-Software-Engineering-Guide GitHub Wiki
Clean Code
The only valid measurement of code quality: WTFs/minute
Bad Code is Not Ok!
- leads to => anger + lack of motivation + unmaintainable code
##Intro
Why?
- To clearly communicate what you write.
- Programmers are like authors. They often write for others, and you never know who is reading.
General Rules
- There should be no surprises in the code
- How should be very fast to understand what the code does just by quickly reading it
How to maintain it?
- Use good tools
- Put extra importance to quality
- Code reviews
- Continuous integration
- Positive peer pressure