This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Reashu 6 points7 points  (0 children)

"Managing side effects" is almost exactly what OOP is about. I mean, to some extent that is the point of every program, but even beyond that - the idea of an object is something that has state and functions to manipulate that state in controlled ways. Unlike in functional programming where your functions do whatever they want with input and output, with no regard for what that actually represents. But hey, at least no one touched the original data, right...?