TootSweet@lemmy.world to ProgrammingEnglish · 4 months agoThe Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin's Blogblog.daniel-beskin.comexternal-linkmessage-square15linkfedilinkarrow-up1125arrow-down12cross-posted to: [email protected]
arrow-up1123arrow-down1external-linkThe Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin's Blogblog.daniel-beskin.comTootSweet@lemmy.world to ProgrammingEnglish · 4 months agomessage-square15linkfedilinkcross-posted to: [email protected]
minus-squaredouglasg14b@lemmy.worldlinkfedilinkarrow-up26·4 months agoCombined return types are wonderful and make for, generally, better engineered software. Exceptions still have their place, for exceptional circumstances, but the grand majority of errors should not be exceptions.
Combined return types are wonderful and make for, generally, better engineered software.
Exceptions still have their place, for exceptional circumstances, but the grand majority of errors should not be exceptions.
Well put