minus-squarewer2@lemmy.ziptoProgrammer Humor@programming.dev•average c++ devlinkfedilinkarrow-up33arrow-down1·5 days agoMy issue is C++ will “let me do it”, and by that I mean “you didn’t cast here (which is UB), so I will optimize out a null check later, and then segfault in a random location” linkfedilink
minus-squarewer2@lemmy.ziptoProgrammer Humor@programming.dev•there's no escape! brew another cup!linkfedilinkarrow-up18·6 days agoHave you ever used wheel-el in emacs? It really sets a high bar. linkfedilink
My issue is C++ will “let me do it”, and by that I mean “you didn’t cast here (which is UB), so I will optimize out a null check later, and then segfault in a random location”