• Jankatarch@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    16 hours ago

    I seen people use singletons in C++ for a single function. There was no justifying context either they just didn’t think of putting the function in some namespace.