News for hackers. Stuff that matters.
Re:Every Dunder Method in Python by parpfish on Wednesday April 03, 2024 @09:18AM (#39917077)
It took me far too long to realize that “dunder” just means “double underscore” and it wasn't some academic term from grad-level CS.

Knowing that made hem less scary

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

Re:Every Dunder Method in Python by maxnoe on Wednesday April 03, 2024 @11:38AM (#39918870)
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]

Re:Every Dunder Method in Python by rigid on Wednesday April 03, 2024 @09:35AM (#39917273)
...at least you weren't looking for any references to "mifflin" functions.
Re:Every Dunder Method in Python by parpfish on Wednesday April 03, 2024 @09:40AM (#39917322)
The __mifflin__ method is used to define a way for the object to waste cpu-cycles so it looks busy