News for hackers. Stuff that matters.
Re:The faster you unlearn OOP, the better for you and your s... by naasking on Sunday November 25, 2018 @11:01AM (#18527358)
> Also, objects are best when used to represent actual objects (i.e. collections of data rather than collections of functions).

Except these aren't objects, they're just records. I don't think it's a good idea to pollute the word "object" or OOP. You use objects specifically when you need procedural abstraction, otherwise you use other types of values, like products/records, sums/variants, etc.

At high system levels, where you have client/server or other types of protocols, objects fit. At lower levels other paradigms tend to be better.

There are no comments on this comment yet.