Skip to content

Objects Quote by Eric Freeman

“methods in objects are properties too. They just happen to have a function assigned to them.” quote by Eric Freeman
Download Open image
““methods in objects are properties too. They just happen to have a function assigned to them.””

Eric Freeman

About This Quote

Source Book: Head First Design Patterns, 2004

Objects have properties that can be functions, blurring the line between data and behavior.

In simple terms: Objects can hold functions as properties.

Key Takeaway

Leverage functions as object properties.

Themes

programming software design abstraction

Mood

analytical curious

Type

technical educational

When to use this quote

  • API design
  • code refactoring
  • software architecture

Key Concepts

object-oriented functional programming

Questions to Reflect On

  • How does this affect code readability?
  • When should you use function properties?
A Different Perspective

May confuse beginners unfamiliar with concepts.

2.1 out of 5 (6 ratings)

More by Eric Freeman

Explore all 90 Eric Freeman quotes

More Objects quotes

Browse all 3,760 Objects quotes