On Fri, 19 Aug 2022 at 04:19, David at Booomer <da...@boomer.org> wrote:
> > This is really common in modern programming languages (read: programming
> > languages younger than 30 years or so), because it makes it much more
> > convenient to extend/shorten/reorder a list. Otherwise you alway have to
> > remember add or remove a comma in the right place. (Some people
> > (especially SQL programmers for some reason) resorted to put the comma
> > at the start of each line to get around this, which is really ugly.)
> >
> >        hp
>
> The trailing , does make commenting out arguments easier but unexpected 
> coming from ‘older’ languages. ;-)
>

It's one of the frustrations with JSON, since that format doesn't
allow the trailing comma :)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to