Re:How to reduce the cognitive load of your code
by chimprich on Tuesday March 29, 2016 @12:19PM
(#11382576)
You can't anticipate every emergency change required to the codebase. Sure, you can make some intelligent predictions about certain points in the code and encapsulate possible changes but it's impossible in the general case. Trying to code to future possible requirements is often far more harmful because of over-abstraction than occasionally having to perform a quick hack and then fix it later.
[ Parent
| on HN ]
Re:How to reduce the cognitive load of your code
by ktRolster on Tuesday March 29, 2016 @08:44PM
(#11386177)
Yeah. It's a balance between "build as little 'framework code' as possible;" and "build the framework as you go."
I say 'framework code' but it could be called structural code, or glue code or something, too.