3 ms·
Ok, quick rules that focus on single lines. That's neat, but from experience most of the complexity comes from the structure more than just how the code is writ
by charles_f 4y ago
Ok, quick rules that focus on single lines. That's neat, but from experience most of the complexity comes from the structure more than just how the code is written, conventions about how to write a line of code won't fix corrupt indirections, misplaced coupling, lack of cohesion, undue repetitions, missing tests, etc.
Clean code is not just a few rules about how to write a line. You can write nice lines that still don't make sense and amount to shit code
- ARandomerDude 4y agoAh yes. I remember when I read the Clean Code about 10 years ago and produced the "cleanest" code I had ever seen – only to have it destroyed by a senior dev during a code review because the task was relatively complex and my overall structure was garbage. One of the saddest days of my career. Probably the most helpful day of my career too.