How do you find what exceptions a class can throw?

Larry Martell larry.martell at gmail.com
Mon Dec 21 08:30:03 EST 2020


On Sun, Dec 20, 2020 at 9:36 PM Chris Angelico <rosuav at gmail.com> wrote:
>
> On Mon, Dec 21, 2020 at 1:11 PM Julio Di Egidio <julio at diegidio.name> wrote:
> > > Gathering evidence is indeed part of science, and computer science is
> > > indeed mathematics, but alas programmering is just a craft and software
> > > engineering often ... isn't.
> >
> > Programming is a *discipline*
>
> It's a discipline, a science, AND an art. I love programming :)


I love it too. But I think it’s a craft not an art. I think of art as
totally unconstrained, and a craft as having to functionally work.

I really like this quote: "Debugging is like being the detective in a
crime movie where you are also the murderer." - Filipe Fortes


More information about the Python-list mailing list