Paradigms

I started wondering about what object-oriented programming was, and I thought, well, Erlang wasn’t object-oriented; it was a functional programming language. And then my thesis supervisor, Seif Haridi said, “But you’re wrong. Erlang’s extremely object-oriented. The thing is, the object-oriented languages aren’t object-oriented.”

Joe Armstrong

OOP = messaging + isolation + polymorphism + late binding and NOT classes + methods (which is just code organisation)

(twitter)

erl  st 

Orientation

Your domain model is not in your classes, it’s in the communication patterns between the objects at runtime.

Steve Freeman and Nat Pryce, Growing Object-Oriented Software, Guided by Tests, Addison Wesley, 2009.

Procedural code gets information then makes decisions. Object-oriented code tells objects to do things.

Alec Sharp, Smalltalk by Example: The Developer’s Guide, McGraw-Hill, 1997.

Cited by Matt Wynne, Hexagonal Rails, GoRuCo 2012

st