• Valmond@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    6 个月前

    They have sort of pointers, like references, that can be null…

    You just “new” stuff to it and let the “garbage” collector deal with freeing stuff up. When it feels like it.