• Hirom@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 hours 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.