The doorway effect
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.