Re:Every Dunder Method in Python
by mardifoufs on Wednesday April 03, 2024 @12:41PM
(#39919630)
I realized most python related terms usually don't have a very serious origin. I remember when I learned that the name for Python's packaging format ("wheels") is short for "cheese wheels"... because PyPi used to be called "The Cheese Shop"!
I always thought it was some sort of reference to the structure of the package or something lol. I like it though!
Re:Every Dunder Method in Python
by userbinator on Wednesday April 03, 2024 @09:47AM
(#39917420)
I wonder when it became common, since I did some Python stuff many years ago and never encountered the term in that context.
On the other hand... https://en.wikipedia.org/wiki/Dunder
According to Wikipedia, the term dates back to at least 2002:
> The frequent use of a double underscores in internal identifiers in Python gave rise to the abbreviation dunder; this was coined by Mark Jackson[3] and independently by Tim Hochberg,[4] within minutes of each other, both in reply to the same question in 2002.[5][6]
...at least you weren't looking for any references to "mifflin" functions.
Knowing that made hem less scary