⇤ ← Revision 1 as of 2006-05-23 05:17:40
1183
Comment: Adding the dunder term to the wiki
|
← Revision 2 as of 2008-11-15 13:59:49 ⇥
1195
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
[http://www.alumni.caltech.edu/~mjackson Mark Jackson] was the first to suggest '''dunder''' as a speech shorthand for double underscores ({{{__}}}) in a reply to [http://mail.python.org/pipermail/python-list/2002-September/124640.html a query from Pat Notz]. [http://www.nedbatchelder.com/ Ned Batchelder] later [http://www.nedbatchelder.com/blog/200605.html#e20060522T162427 stressed the need for a way of pronouncing] '''{{{__}}}''': | [[http://www.alumni.caltech.edu/~mjackson|Mark Jackson]] was the first to suggest '''dunder''' as a speech shorthand for double underscores ({{{__}}}) in a reply to [[http://mail.python.org/pipermail/python-list/2002-September/124640.html|a query from Pat Notz]]. [[http://www.nedbatchelder.com/|Ned Batchelder]] later [[http://www.nedbatchelder.com/blog/200605.html#e20060522T162427|stressed the need for a way of pronouncing]] '''{{{__}}}''': |
Line 7: | Line 7: |
[http://theonda.org/ Antonio Rodriguez] reported [http://www.nedbatchelder.com/reactor/comment.php?entryid=e20060522T162427&title=Dunder&url=http%3A//www.nedbatchelder.com/blog/200605.html immediate adoption] of the alias. | [[http://theonda.org/|Antonio Rodriguez]] reported [[http://www.nedbatchelder.com/reactor/comment.php?entryid=e20060522T162427&title=Dunder&url=http%3A//www.nedbatchelder.com/blog/200605.html|immediate adoption]] of the alias. |
Dunder (Double UNDERscore) Alias
Mark Jackson was the first to suggest dunder as a speech shorthand for double underscores (__) in a reply to a query from Pat Notz. Ned Batchelder later stressed the need for a way of pronouncing __:
An awkward thing about programming in Python: there are lots of double underscores. [snip] My problem with the double underscore is that it's hard to say. How do you pronounce __init__? "underscore underscore init underscore underscore"? "under under init under under"? Just plain "init" seems to leave out something important. I have a solution: double underscore should be pronounced "dunder". So __init__ is "dunder init dunder", or just "dunder init".
Antonio Rodriguez reported immediate adoption of the alias.