[Python-ideas] syntax for set
geremy condra
debatem1 at gmail.com
Mon Nov 15 23:02:25 CET 2010
On Mon, Nov 15, 2010 at 1:04 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Alexandre Conrad wrote:
>>
>> That's why I proposed using a new container literal for
>> sets, such as <1, 2, 3>
>
> Please, no angle brackets. They're ugly and too easily
> confused with comparison operators, at least by humans
> trying to read the code.
Hmm, I find them easy to read and no harder on the eyes than {}, but
then I seldom have large numbers of < and > in my code.
Geremy Condra
More information about the Python-ideas
mailing list