the.com/oop
the art of pretending the universe is made of tidy little boxes that talk to each other.
means object-oriented programming: a way of structuring code around objects that bundle data and behavior together instead of scattering both everywhere.
from born in norway in the 1960s with simula, then popularized by smalltalk at xerox parc in the 1970s, before c++ and java dragged it into the mainstream and onto every whiteboard interview.
coined termalan kay claims he coined it, then regretted it
four pillarsencapsulation, inheritance, polymorphism, abstraction, endlessly debated
kay's regrethe meant messaging, not classes, apparently
inheritance hatemany modern languages favor composition over it now