I’m interested in more of a universal design patterns but moving data around is my prevailing interest.

Stuff like copy on like classes vs structures, how data gets passed around, copied, deleted, etc I think

  • Sunsofold@lemmings.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    28 days ago

    The high level view of ‘copying’ is purely abstracted, and not very useful. It’s a layperson’s understanding. Copy A and call it B makes a thing called B that contains the same data as A. Anything deeper than that will be completely language dependent. Whether a copy is a copy or a reference depends on language and implementation.

    Unless you mean how data physically is copied/recalled at the hardware level… that’s language agnostic and happens in mostly just a few ways.