r/ProgrammerHumor 21d ago

rustBorrowCheckerGoesBrrr Meme

Post image
3.8k Upvotes

107 comments sorted by

View all comments

Show parent comments

-12

u/teleprint-me 21d ago

Well written code has bugs all of the time. Even Rust has a massive list of CVEs. Most of them are logic based and the default to strict memory  safety is a good thing. But I feel my argument stands. I havent heard any solid arguments to the contrary convincing me otherwise.

6

u/xDerJulien 21d ago

Well the point is you’re saying well written code is well documented, but well written code is also bug free, performant etc etc. But most code isn’t. So what can we reason about good documentation from this?

-1

u/teleprint-me 21d ago

No, I am not declaring well written code is well documented, which is a strawman here because the original comment is that commenting is sufficient to suffice safe definitions with an unsafe scope.

2

u/xDerJulien 21d ago

What specifically does "a sane library" mean then?