Chapter 6. The Secret Life of Objects
âThe problem with object-oriented languages is theyâve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.â
âJoe Armstrong, interviewed in Coders at Work
When a programmer says âobject,â this is a loaded term. In my profession, objects are a way of life, the subject of holy wars, and a beloved buzzword that still hasnât quite lost its power.
To an outsider, this is probably a little confusing. Letâs start with a brief history of objects as a programming construct.
History
This story, like most programming stories, starts with the problem of complexity. One philosophy is that complexity ...
Get Eloquent JavaScript, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.