Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · edit-25 months ago“ARE YOU ALL SEEING THIS”sh.itjust.worksimagemessage-square56fedilinkarrow-up18arrow-down11
arrow-up17arrow-down1image“ARE YOU ALL SEEING THIS”sh.itjust.worksSjmarf@sh.itjust.works to Programmer Humor@programming.dev · edit-25 months agomessage-square56fedilink
minus-squareundetermined@lemmy.worldlinkfedilinkarrow-up7·5 months agoIt’s always funny naming a function which removes a child object from a parent object. I’ve stuck with “abandon child” so far.
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up4·5 months agoI like “orphanize” - one of those things that shouldn’t be a word, but is!
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up2·edit-25 months agoimpl<'a, T: Child> ChildRef<'a, T> { fn orphanize<T: Child>(r: Self) -> Orphan<T>; }
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up2·edit-25 months ago-- |Removes the given object from its current parent, if any, and then adds it as a child of the other given object. kidnap :: ChildBearing c p => p -- ^The kidnapper. -> c -- ^The child to kidnap. IO ()
It’s always funny naming a function which removes a child object from a parent object. I’ve stuck with “abandon child” so far.
I like “orphanize” - one of those things that shouldn’t be a word, but is!
umbilicalCord.cut()
def callCps()