Cognitive Psychology and the Zen of Code

It was said that you should write code “for people to read, and only incidentally for machines to execute” but it’s easier said than done. Object-oriented design, patterns and software architecture are primarily concerned with the mechanical structure of code. Could we take a step back from the code and look at the way humans read and write it?

Can we use our understanding of the psychology of human cognition to better understand our target audience, and in turn write code that is more intuitive, readable, and maintainable? This video discusses the basics of cognitive psychology and relate them back to concrete ways that we as developers can optimize our code for high performance in the interpreter between our ears.

Video Producer: Rocky Mountain Ruby Conference