266
Writing C++ is easy. (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] cabbage@programming.dev 14 points 1 year ago

Sounds like Rust propaganda to me >:(

[-] JakeHimself@programming.dev 9 points 1 year ago

Tbf, you have to be pretty far with Rust to get to a point where Rust's compiler errors stop helping you (at least, as far as I've seen). After that, it's pretty much the same

[-] Boinketh@lemm.ee 4 points 1 year ago* (last edited 1 year ago)

Rust has better runtime errors, too. If you run a dev build, it should pretty much never segfault unless you use unsafe and will instead tell you what went wrong and where, no valgrind necessary.

[-] JakeHimself@programming.dev 2 points 1 year ago

Would know, I've never had a runtime error in Rust /s

[-] eth0p@iusearchlinux.fyi 3 points 1 year ago

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)

[-] asdfasdfasdf@lemmy.world 1 points 1 year ago

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.

load more comments (3 replies)
load more comments (4 replies)
load more comments (4 replies)
this post was submitted on 25 Jul 2023
266 points (98.2% liked)

Programmer Humor

19861 readers
21 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS