@fl42v@lemmy.ml to Programmer Humor@programming.dev • 1 year agoYou can certainly change it. But should you?lemmy.mlimagemessage-square60fedilinkarrow-up1549arrow-down18
arrow-up1541arrow-down1imageYou can certainly change it. But should you?lemmy.ml@fl42v@lemmy.ml to Programmer Humor@programming.dev • 1 year agomessage-square60fedilink
minus-square@TheEntity@lemmy.worldlinkfedilink2•1 year agoThe very notion of “less of a UB” is against the concept of UB. If you have an UB in your program, all guarantees are out of the window.
minus-square@fl42v@lemmy.mlOPlinkfedilink2•1 year agoI mean, changing a const is itself a questionable move (the question being whether the one doing it is insane)
The very notion of “less of a UB” is against the concept of UB. If you have an UB in your program, all guarantees are out of the window.
I mean, changing a
const
is itself a questionable move (the question being whether the one doing it is insane)