166
Slapping on a .expect is also error handling!
(lemmy.world)
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.
Unwrap is good for prototyping and trying out stuff fast, but it generally shouldn't make it past a code review onto main, unless you're very sure
Exactly.
Personally, I call it "python mode" since you're staying on the "happy path" and let the program just crash out if those expectations aren't met.