An Overlooked Piece of Advice

Data structure vs Objects

Jeferson Spencer Chaves

--

Reading through the Clean Code book, I stumbled upon a very strong and deep piece of advice:

Mature programmers know that the idea that everything is an object is a myth. Sometimes you really do want simple data structures with procedures operating on them.

Batman (Clean code) slapping Robbin (purist OO developer): everything is an object. That is a myth!
Chapter 6: Objects and Data Structures, that is nearly a slap on the face of purist Object-Oriented developers.

--

--

Jeferson Spencer Chaves

I’m a Software Engineer working with Salesforce Lightning Platform @Waeg.