TootSweet@lemmy.world to Programming@programming.devEnglish · 22 days agoThe Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin's Blogblog.daniel-beskin.comexternal-linkmessage-square15fedilinkarrow-up1124arrow-down12cross-posted to: hackernews
arrow-up1122arrow-down1external-linkThe Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin's Blogblog.daniel-beskin.comTootSweet@lemmy.world to Programming@programming.devEnglish · 22 days agomessage-square15fedilinkcross-posted to: hackernews
minus-squaredouglasg14b@lemmy.worldlinkfedilinkarrow-up26·21 days 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