Comment by onehair
5 years ago
1. Clean Code is not a fixed destination to which you'll ever arrive. It's a way of life.
2. We might not use the same methods to write clean code. But when you see clean code, you know it is clean.
3. Some traits clean code can have
- When you read the function name, you understand what the function does
- When you read the content of a function, you can understand what it is about without reading line by line.
- When you try to refactor clean code, you find yourself sometimes ending up only changing one cog in the whole system.
0. Real clean code does not exist.
No comments yet
Contribute on Hacker News ↗