MaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 2 years agoWriting C++ is easy.sh.itjust.worksimagemessage-square85fedilinkarrow-up11.08Karrow-down120
arrow-up11.06Karrow-down1imageWriting C++ is easy.sh.itjust.worksMaliciousKebab@sh.itjust.works to Programmer Humor@programming.devEnglish · 2 years agomessage-square85fedilink
minus-squareeth0p@iusearchlinux.fyilinkfedilinkEnglisharrow-up3·2 years agoCan’t have a runtime error if you don’t have a compiled binary *taps forehead* (For the record, I say this as someone who enjoys Rust)
minus-squareasdfasdfasdf@lemmy.worldlinkfedilinkarrow-up1·2 years agoThis is actually unironically a major benefit of Rust - compile time errors are supposed to be for dev mistakes and runtime errors supposed to be for user mistakes. Way easier to debug something at compile time instead of runtime.
Can’t have a runtime error if you don’t have a compiled binary *taps forehead*
(For the record, I say this as someone who enjoys Rust)
This is actually unironically a major benefit of Rust - compile time errors are supposed to be for dev mistakes and runtime errors supposed to be for user mistakes. Way easier to debug something at compile time instead of runtime.