The doorway effect

August 17, 2022
Write code as if every function is a doorway, and every reader of my code will always experience the doorway effect.

You’ve just left the house when you realize you forgot something. You turn around and walk back through the front door. Then you forget. What were you looking for?

You’ve just experienced the doorway effect.

I like to write code as if every function is a doorway, and every reader of my code will always experience the doorway effect.

Share this

Related Content

The Boy Scout Rule

Don't focus on lofty goals. Fcus on daily making the code a little bit better.

Today I intentionally copied a bug

Guessing what code is meant to do is hard work.

mob.sh

Do you have a favorite remote pair programming tool?