Algorithms Quote by Alexander Stepanov
“Object-oriented programming aficionados think that everything is an object… this [isn't] so. There are things that are objects. Things that have state and change their state are objects. And then there are things that are not objects. A binary search is not an object. It is an algorithm”
About This Quote
A clarification that not every concept in programming fits the object paradigm; algorithms like binary search are procedural, not objects.
In simple terms: Distinguish objects from algorithms
Object‑orientation has limits
Themes
Mood
Type
When to use this quote
- software architecture discussions
- coding interviews
- educational lectures
Key Concepts
Practical Applications
- teaching OOP concepts
- design documentation
Questions to Reflect On
- How does conflating objects with algorithms hinder design?
- When should you choose procedural over OOP?
null