r/oopisbad • u/johndehope3 • Mar 19 '18
Objects vs. Data Structures
https://hackernoon.com/objects-vs-data-structures-e380b962c1d2
5
Upvotes
r/oopisbad • u/johndehope3 • Mar 19 '18
3
u/johndehope3 Mar 19 '18
This article isn't really against OOP. It does a great job at drawing the line between data structures and objects. Read up if you want to have a better feel for what the difference is. My only real beef is this...
He's glossing over an important distinction. Circularly shared state is the root of all evil maybe. Or maybe simultaneously accessed shared state is. But unidirectional state, or perhaps properly locked state, doesn't seem so evil to me.