[CentralOH] 2017-12-11 會議 Scribbles 落書/惡文?: Test Driven Development

Neil Ludban nludban at columbus.rr.com
Sat Dec 23 09:36:02 EST 2017


On Tue, 19 Dec 2017 09:51:44 -0500
Neil Ludban <nludban at columbus.rr.com> wrote:
> On Mon, 18 Dec 2017 15:13:03 -0500
> jep200404 at columbus.rr.com wrote:
> ...
> > most readable code is. Who is the audience? A novice or Pythonista?
> > 
> >     return output or str(n)
> > 

See also SQL's coalesce function:

https://www.postgresql.org/docs/9.5/static/functions-conditional.html#FUNCTIONS-COALESCE-NVL-IFNULL


More information about the CentralOH mailing list