3 ms·
Here's a couple of mantras to write clean code: - Code is written once and read at least once, have empathy for the readers... - If code cannot be understood,
by gitgud 7y ago
Here's a couple of mantras to write clean code:
- Code is written once and read at least once, have empathy for the readers...
- If code cannot be understood, it cannot be changed safely...
- Less dependencies on other code, makes code easy to understand...
- The smaller the context is, the easier it is to understand the code...