Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46610
| References | <vMZpt.7049$2I2.2738@fx17.am4> <CAA=1kxQLRYXcB6te1Xh6EoL6Y8V4NUG3gqKCSR89mEeDUg58Hw@mail.gmail.com> |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | 2013-05-31 09:39 -0600 |
| Subject | Re: How clean/elegant is Python's syntax? |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2494.1370015234.3114.python-list@python.org> (permalink) |
On Fri, May 31, 2013 at 4:16 AM, Fábio Santos <fabiosantosart@gmail.com> wrote:
> On Fri, May 31, 2013 at 10:08 AM, Alister <alister.ware@ntlworld.com> wrote:
>> I think that is the winning argument.
>> Next question is what should be the default ("", " " or',')?
>
> join, comma_join, whitejoin, linejoin variants, with different defaults?
The more specific versions should not even have the parameter as an
argument that can be supplied. Otherwise you could do:
comma_join(words, sep=';')
which is just unclear, and there is no reason to allow it.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: How clean/elegant is Python's syntax? Alister <alister.ware@ntlworld.com> - 2013-05-31 09:08 +0000
Re: How clean/elegant is Python's syntax? Fábio Santos <fabiosantosart@gmail.com> - 2013-05-31 11:16 +0100
Re: How clean/elegant is Python's syntax? rusi <rustompmody@gmail.com> - 2013-05-31 03:27 -0700
Re: How clean/elegant is Python's syntax? Alister <alister.ware@ntlworld.com> - 2013-05-31 11:52 +0000
Re: How clean/elegant is Python's syntax? Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-31 09:39 -0600
csiph-web