March 29, 2016
Christian Maioli: How to reduce the cognitive load of your code:
Christian provides a good list, and the personal quirks hits a little close to home for me.
"Don’t code 'your way'. Just follow the coding standards. This stuff is already figured out. Make your code predictable and easy to read by coding the way people expect."
I used to do silly little things in my code which I thought were neat (such as using 0x00 instead of nil), but I eventually came around and realized they were pointless and probably confused people. I still come across it in my code every once in a while, and mentally chastise myself before fixing it.