Alex@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agoA week of fprintfs has me wanting to code rust next weeklemmy.mlimagemessage-square102linkfedilinkarrow-up1985
arrow-up1967imageA week of fprintfs has me wanting to code rust next weeklemmy.mlAlex@lemmy.ml to Programmer Humor@lemmy.ml · 2 years agomessage-square102linkfedilink
minus-squareAeroLemming@lemm.eelinkfedilinkEnglisharrow-up8·2 years agoI mean, is C++ any better? Sure, it catches some errors at compile-time, but others can turn into undefined behavior pretty easily.
minus-squaremagic_lobster_party@kbin.sociallinkfedilinkarrow-up13arrow-down1·2 years agoCatching some errors is better than catching no errors. No compiler in any language can protect you from all runtime errors either way, but some are better at it than others.
minus-squareSkull giver@popplesburger.hilciferous.nllinkfedilinkarrow-up4·edit-22 years agodeleted by creator
I mean, is C++ any better? Sure, it catches some errors at compile-time, but others can turn into undefined behavior pretty easily.
Catching some errors is better than catching no errors. No compiler in any language can protect you from all runtime errors either way, but some are better at it than others.
deleted by creator