Alex@lemmy.ml to Programmer Humor@lemmy.ml · 10 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 · 10 months agomessage-square107fedilink
minus-squareAeroLemming@lemm.eelinkfedilinkEnglisharrow-up9arrow-down1·10 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·10 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-210 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