by scriptkiddy · 9y ago · 0 comments
The example the author gave is not the actual script he was using to monitor Jenkins. It's a small portion of it.
Seriously, if someone hasn't used Python before, I can't just assume that they know how Python's exception handling works.
It seems pretty obvious to me that production level Python with actual error-handling doesn't look as simple as his three-liner.
You can't compare that to a language that actually forces you to deal with it. If you follow up on the compiler hints and follow safe patterns while working in Rust (like no forced unwraps) you'll end up with very robust code, something that's up to the discipline of the Python programmer.