How to reduce the cognitive load of your code
1–10 of 239 posts
Re: How to reduce the cognitive load of your code
#2Would recommend reading 'Code Complete' than this article
Re: How to reduce the cognitive load of your code
#3[deleted]
Re: How to reduce the cognitive load of your code
#4Nothing about division of concerns and organization?
Re: How to reduce the cognitive load of your code
#5If I was to describe the essence of clean code in one word, I would say "balance".
Yes, yes, readability and problem separation and stuff is important, but so is efficiency and usability and security and deadline and everything. Bottom line: balance.
And it's the hardest thing to achieve.
Re: How to reduce the cognitive load of your code
#6Isn't this just a fancy phrasing for "make your code easy to read"?
Re: How to reduce the cognitive load of your code
#7[deleted]
Re: How to reduce the cognitive load of your code
#8Would recommend reading 'Code Complete' than this article
He does reference it in both the first and last paragraph!
my fave is clean code... though uncle bob seems divisive these days for some reason.
http://www.amazon.co.uk/Clean-Code-Handbook-Software-Craftsm...
Re: How to reduce the cognitive load of your code
#9He advocates prefixes on variable names. I would like to see good examples of this as I have never seen them as helpful (especially the tblUsers and intUserId type that can be common) .
Re: How to reduce the cognitive load of your code
#10> There are four main concepts I will talk about here.
There are 5 concepts in the article. Off-by-one error? :)