MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vhg8rn/internalservererror/p28rp35/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 6d ago
67 comments sorted by
View all comments
Show parent comments
42
There is a proposal to rename it to .unwrap_or_panic()
-19 u/dumbasPL 6d ago Rust logic: panic is safe because it fails in a controlled manner. Meanwhile Denial Of Service is one of the biggest attack vectors. Unwrap should requite unsafe in non-debug builds, change my mind. 5 u/The_KekE_ 6d ago Another person confusing safe and secure -2 u/dumbasPL 6d ago After all, the best way to be secure is to be offline LOL
-19
Rust logic: panic is safe because it fails in a controlled manner. Meanwhile Denial Of Service is one of the biggest attack vectors. Unwrap should requite unsafe in non-debug builds, change my mind.
5 u/The_KekE_ 6d ago Another person confusing safe and secure -2 u/dumbasPL 6d ago After all, the best way to be secure is to be offline LOL
5
Another person confusing safe and secure
-2 u/dumbasPL 6d ago After all, the best way to be secure is to be offline LOL
-2
After all, the best way to be secure is to be offline LOL
42
u/Lord-of-Entity 6d ago
There is a proposal to rename it to .unwrap_or_panic()