you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 9 months ago

Separating data structure from implementation has benefits.

In languages with classic OOP classes and objects, it's often necessary to write wrappers or adapters to allow new operations on existing objects. This adds overhead and require more code.

  • source