I’m Not a Big Fan of Python’s Ask for Forgiveness

Only 2 things to consider in my article

Talk to anyone for Python, and you’ll get the quote “ask for forgiveness not permission”. In short, this means to use to assume code will run successfully then catch any failures instead of placing conditional checks beforehand. Forgiveness is Pythons error handling through…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store