Match!! to Programmer Humor@programming.devEnglish · 7 months agostd::underflow_errorimagemessage-square30fedilinkarrow-up1615arrow-down110
arrow-up1605arrow-down1imagestd::underflow_errorMatch!! to Programmer Humor@programming.devEnglish · 7 months agomessage-square30fedilink
minus-squareRoyaltyInTraining@lemmy.worldlinkfedilinkarrow-up7arrow-down2·7 months agoIt’s a decent language I guess. My main criticism is that the constructor paradigm just isn’t well suited for RAII. I always find myself retrofitting Rust’s style of object creation into my C++ code.
minus-squarehector@sh.itjust.workslinkfedilinkarrow-up4arrow-down1·7 months agoYeah exactly what I experienced. You just end up rewriting Rust constructs!
It’s a decent language I guess. My main criticism is that the constructor paradigm just isn’t well suited for RAII. I always find myself retrofitting Rust’s style of object creation into my C++ code.
Yeah exactly what I experienced. You just end up rewriting Rust constructs!