On Wed, Sep 14, 2016 at 1:27 AM, Rob Cliffe <rob.cli...@btinternet.com> wrote:
> And sorry to repeat myself, but we seemed to be having a *general*
> discussion about null-coalescing operators, which moved on to PEP 463, then
> suddenly Guido is talking about APIs.  A lot of the time when I'm coding,
> I'm not writing an API, just a program to get a job done.  No doubt,
> exceptions should be discouraged *in APIs*, but that doesn't make
> exceptions, or EAFP, a bad idea per se.

PEP 463, by its nature, is talking about the language. Language
features govern and advise API design, which then changes how you
write "a program to get a job done", so it does actually have strong
bearing - just via a couple of levels of indirection.

ChrisA
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to