How do you find what exceptions a class can throw?

Chris Angelico rosuav at gmail.com
Mon Dec 21 08:58:30 EST 2020


On Tue, Dec 22, 2020 at 12:32 AM Larry Martell <larry.martell at gmail.com> wrote:
>
> 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.

Hmmmmmmmmmmm...

*looks at some of his recent code*

This stuff has to work?!? I've been doing it all wrong...

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

Oh yes, absolutely. Only, you don't even know if a murder's been
committed yet...

ChrisA


More information about the Python-list mailing list