On 13/05/2020 17:20, [email protected] wrote:
I'm working with developers that have decided to use asserts every
time they want to throw an exception. I feel that their should be
something that dissuades this behavior in the language design.

I'm sorry, but I think the correct response is to give them a spanking in code review. I certainly wouldn't pass any code that actually relied on assert doing anything.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/GAXWCH5P4A4GP725L55BTVXGKZV4KLHL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to