Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread Lennart Regebro
On Sat, Dec 10, 2011 at 13:15, Ben Finney wrote: > Guido van Rossum writes: > >> On Fri, Dec 9, 2011 at 12:26 PM, Cedric Sodhi wrote: >> >> > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD >> > BEEN DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", >> > THAT "WHO

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread Xavier Morel
On 2011-12-10, at 12:14 , francis wrote: > > (I thing that 'go' has some > autoformater or a standard way of formatting). `gofmt` yes, it simply reformats all the code to match the style decided by the core go team, it does not provide support formatting- independent edition. Think of it as pep8.

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread Serhiy Storchaka
10.12.11 13:14, francis написав(ла): Formatting is like food, everyone has it's own taste. One has to use spicery to change it (if possible). For me the view of the code (the layout) by the programmer should be automatically changed by the tool that reads the code. Here you could have a python wi

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread francis
Hi Cedric, On 12/09/2011 09:26 PM, Cedric Sodhi wrote: It is widely known among the programmer's community that spaces and tabs are remarkably similar to eachother. So similar even, that people fight wars about which to use in a non-py context. It might strike one as an equally remarkably nonsen

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread Guido van Rossum
On Sat, Dec 10, 2011 at 4:15 AM, Ben Finney wrote: > Guido van Rossum writes: > > > On Fri, Dec 9, 2011 at 12:26 PM, Cedric Sodhi wrote: > > > > > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD > > > BEEN DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", > > > THA

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-10 Thread Ben Finney
Guido van Rossum writes: > On Fri, Dec 9, 2011 at 12:26 PM, Cedric Sodhi wrote: > > > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD > > BEEN DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", > > THAT "WHO DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR > >

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Matt Joiner
Ditch the colon too. Also you're a troll. On Dec 10, 2011 9:58 AM, "Cedric Sodhi" wrote: > I reply to your contribution mainly because I see another, valid > argument hidden in what you formulated as an opinion: > > Readability would be reduced by such "noise". To anticipate other people > agreei

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Steven D'Aprano
Guido van Rossum wrote: Point of order (repeated), please move this thread to python-ideas. Isn't that cruel to the people reading python-ideas? -- Steven ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/pyt

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Guido van Rossum
Point of order (repeated), please move this thread to python-ideas. -- --Guido van Rossum (python.org/~guido) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailma

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Cedric Sodhi
I reply to your contribution mainly because I see another, valid argument hidden in what you formulated as an opinion: Readability would be reduced by such "noise". To anticipate other people agreeing with that, let me say, that it would be exactly one more character, and the same amount of key pr

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Matt Joiner
If braces were introduced I would switch to Haskell, I can't stand the noise. If you want to see a language that allows both whitespace, semi colons and braces take a look at it. Nails it. On Dec 10, 2011 9:31 AM, "Cedric Sodhi" wrote: > On Fri, Dec 09, 2011 at 02:21:42PM -0800, Guido van Rossum

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Cedric Sodhi
On Fri, Dec 09, 2011 at 02:21:42PM -0800, Guido van Rossum wrote: >On Fri, Dec 9, 2011 at 12:26 PM, Cedric Sodhi <[1]man...@gmx.net> wrote: > > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Guido van Rossum
On Fri, Dec 9, 2011 at 12:26 PM, Cedric Sodhi wrote: > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO > DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING > SIMILAR, JUST DON'T. > Eve

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Marty Alchin
You've really only given one reason why braces are a good idea: "I also appreciate single lined conditional or loops once in a while." Not only is this argument even weaker than the two you yourself gave in defense of whitespace, these two features are already supported in Python. If you're not a

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Donald Stufft
I don't always post to python-dev, but when I do I ask for braces. On Friday, December 9, 2011 at 4:43 PM, Antoine Pitrou wrote: > > Dear Cedric, > > I'm guessing you drank too much (perhaps you are training for New Year's > Eve), ate some bad sausages or are simply very self-complacent. > py

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Ethan Furman
This belongs on python-ideas. Please take it there. ~Ethan~ ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Antoine Pitrou
Dear Cedric, I'm guessing you drank too much (perhaps you are training for New Year's Eve), ate some bad sausages or are simply very self-complacent. python-dev is not the place where to post long unstructured ramblings with no practical value. Consider writing on your personal blog instead. Tha

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Cedric Sodhi
On Fri, Dec 09, 2011 at 01:11:29PM -0800, Mike Meyer wrote: > On Fri, 9 Dec 2011 21:26:29 +0100 > Cedric Sodhi wrote: > > Readable code, is it really an advantage? > > Of course it is. > > Ok, you got that right. Thank you. It doesn't go unnoticed that you learned your Feedback Rules. > > > For

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Mike Meyer
On Fri, 9 Dec 2011 21:26:29 +0100 Cedric Sodhi wrote: > Readable code, is it really an advantage? > Of course it is. Ok, you got that right. > Forcing the programmer to write readable code, is that an advantage? > No suspense, the answer is Of course not. This is *not* an "Of course". Readable

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Ben Finney
Cedric Sodhi writes: > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO > DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING > SIMILAR, JUST DON'T. If you're going to post a long screed

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Xavier Morel
On 2011-12-09, at 21:26 , Cedric Sodhi wrote: > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO > DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING > SIMILAR, JUST DON'T. > > Otherwise,

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Jesse Noller
On Friday, December 9, 2011 at 3:26 PM, Cedric Sodhi wrote: > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO > DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING > SIMILAR, JUST DON'T

Re: [Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Brian Curtin
On Fri, Dec 9, 2011 at 14:26, Cedric Sodhi wrote: > IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN > DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO > DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING > SIMILAR, JUST DON'T. > > Otherw

[Python-Dev] [PATCH] Adding braces to __future__

2011-12-09 Thread Cedric Sodhi
IF YOU THINK YOU MUST REPLY SOMETHING WITTY, ITERATE THAT THIS HAD BEEN DISCUSSED BEFORE, REPLY THAT "IT'S SIMPLY NOT GO'NNA HAPPEN", THAT "WHO DOESN'T LIKE IT IS FREE TO CHOOSE ANOTHER LANGUAGE" OR SOMETHING SIMILAR, JUST DON'T. Otherwise, read on. I know very well that this topic has been discu