On Sat, Apr 11, 2020 at 12:26 PM Soni L. <fakedme...@gmail.com> wrote: > > > They used to say that about Rust.
Rust prides itself on not having exception handling, forcing everyone to do explicit return value checking. I'm not sure how this factors into the current discussion, since it forces all these functions to return two values all the time (an actual return value and an OK/Error status), which you can quite happily do in Python if you so choose, and in fact has already been mentioned here. It's not an improvement over exception handling - it's just a different way of spelling it (and one that forces you to handle exceptions immediately and reraise them every level explicitly). ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/QG7NE7ENOGUWLWQCFTIH5CKKOPWGJ7UL/ Code of Conduct: http://python.org/psf/codeofconduct/