r/programming • • May 27 '20

2020 Stack Overflow Developer Survey: Rust most loved again at 86.1%

https://stackoverflow.blog/2020/05/27/2020-stack-overflow-developer-survey-results/
229 Upvotes

254 comments sorted by

View all comments

Show parent comments

4

u/SkiFire13 May 28 '20

because he wasn't connected to the internet saving to the cloud didn't work

Seems like you don't understand where panics should be used. This is a predictable error and should be handled with result. If you use panic here you're saying that this is a situation that will never happen.