|
|
|
|
|
by JamesBarney
2675 days ago
|
|
I never read Clean Code because of a kind of silly reason. I've worked with a couple of devs who read it and then decided the optimal number of lines of code per function was three. I always felt like I needed 6 monitors to be able to understand anything that was happening. But if you recommend and say it's similar to Code Complete I'll give it a shot. What I liked most about Code Complete is he always talks about trade offs with a clear goal in mind. For instance if function sizes are too small hidden pre-conditions or side effects can cause a bug. But if functions are too large they are hard to follow and it's difficult to isolate side effects. |
|
Like not ending a sentence with a preposition. It is a thing for which I will not stand
Ralph Waldo Emerson, A foolish consistency is the hobgoblin of little minds