Skip to content

Computer science Quote by Eric Freeman

“To write code this way, you need to consider the events that can happen, and how your code should react. Computer science types like to say that this kind of code is asynchronous, because we’re writing code to be invoked later, if and when an event occurs. This” quote by Eric Freeman
Download Open image
““To write code this way, you need to consider the events that can happen, and how your code should react. Computer science types like to say that this kind of code is asynchronous, because we’re writing code to be invoked later, if and when an event occurs. This””

Eric Freeman

About This Quote

Source Book: Head First Design Patterns, 2004

Effective code must anticipate possible events and define appropriate reactions, embodying asynchronous programming principles.

In simple terms: Plan for events and reactions in code.

Key Takeaway

Design systems that handle future events gracefully.

Themes

software design asynchrony robustness

Mood

analytical practical

Type

technical educational

When to use this quote

  • Building responsive UI
  • network request handling
  • real-time data processing

Key Concepts

event-driven architecture reactive programming error handling

Questions to Reflect On

  • How do you test asynchronous code?
  • What patterns help manage event complexity?
A Different Perspective

Complexity can increase debugging difficulty.

2.4 out of 5 (10 ratings)

More by Eric Freeman

Explore all 90 Eric Freeman quotes

More Computer science quotes

Browse all 280 Computer science quotes