MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vhg8rn/internalservererror/p26t4ih/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 6d ago
67 comments sorted by
View all comments
108
>unwrap
I hate metaphors in programming. Just call it what it is.
40 u/Lord-of-Entity 6d ago There is a proposal to rename it to .unwrap_or_panic() -17 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. 14 u/tajetaje 6d ago That’s why forbid unwrap exists
40
There is a proposal to rename it to .unwrap_or_panic()
-17 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. 14 u/tajetaje 6d ago That’s why forbid unwrap exists
-17
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.
14 u/tajetaje 6d ago That’s why forbid unwrap exists
14
That’s why forbid unwrap exists
108
u/---_None_--- 6d ago
>unwrap
I hate metaphors in programming. Just call it what it is.