Alex@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agoA week of fprintfs has me wanting to code rust next weeklemmy.mlimagemessage-square107fedilinkarrow-up11.06Karrow-down118
arrow-up11.04Karrow-down1imageA week of fprintfs has me wanting to code rust next weeklemmy.mlAlex@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agomessage-square107fedilink
minus-squareAeroLemming@lemm.eelinkfedilinkEnglisharrow-up8arrow-down1·9 months 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-up15arrow-down1·9 months 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-29 months 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