Hacker News new | past | comments | ask | show | jobs | submit login

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




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!


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.


The __mifflin__ method is used to define a way for the object to waste cpu-cycles so it looks busy




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: