Message269845
Except for replacing '' with ""*, I am strongly for this patch. To me, caMelcaSe is ugLy, and should not be encouraged. I disagree that camelCase is standard convention, at least not currently. Tkinter itself does not use it. It does not even use TitleCase much.
As near as I could find, neither http://effbot.org/tkinterbook/tkinter-index.htm nor http://www.tkdocs.com/tutorial/index.html introduce camelCase identifiers. For instance, http://effbot.org/tkinterbook/tkinter-hello-again.htm, instead of hiThere and sayHi, has
self.hi_there = Button(frame, text="Hello", command=self.say_hi)
def say_hi(self):
* PEP 8 says "In Python, single-quoted strings and double-quoted strings are the same. This PEP does not make a recommendation for this." My personal convention is 'word', which occurs a lot in tkinter code, and 'multi-word phrase or sentence", which is much rarer. Why the change in the patch. |
|
Date |
User |
Action |
Args |
2016-07-05 19:46:19 | terry.reedy | set | recipients:
+ terry.reedy, SilentGhost, docs@python, berker.peksag, John Hagen |
2016-07-05 19:46:19 | terry.reedy | set | messageid: <1467747979.28.0.491524531721.issue27455@psf.upfronthosting.co.za> |
2016-07-05 19:46:19 | terry.reedy | link | issue27455 messages |
2016-07-05 19:46:18 | terry.reedy | create | |
|