Why tuples use parentheses ()'s instead of something else like <>'s?

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Wed Dec 29 15:53:52 EST 2004


Grant Edwards wrote:
> On 2004-12-29, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote:
> 
>> Perl6 experiments with the use of guillemots as part of the syntax.
> 
> As if Perl didn't look like bird-tracks already...
> 
> http://www.seabird.org/education/animals/guillemot.html
> http://www.birdguides.com/html/vidlib/species/Uria_aalge.htm

Well,

  (1,1,2,3,5) »+« (1,2,3,5,8);  # results in (2,3,5,8,13)

(>>+<< being an operator) just isn't something I would like to read in
my code...

Reinhold



More information about the Python-list mailing list