5 ms·
So apparently "dunder" isn't a new thing, just an alternative name for the well-known magic methods ("double-underscore methods"), which as far as I can tell ne
by Shish2k 14y ago
So apparently "dunder" isn't a new thing, just an alternative name for the well-known magic methods ("double-underscore methods"), which as far as I can tell never took off... (never heard the term before this video, and googling it, all I can find is references to the phrase being suggested on the python mailing list, but not used in the wild)
- th 14y agoI have actually heard "dunder" used in conversation multiple times at Python meetups. I think it's more useful in verbal conversation. I usually hear it used to replace the phrase "double underscore". For example: "a dunder call method can be used to make an object callable".
- kbd 14y agoCan confirm "dunder" used frequently at PyCon. Personally I prefer "under under".
- masklinn 14y agoIt's fairly commonly used amongst core devs and on the python-dev mailing list. It's rarer in the wider ecosystem because... most python developers don't really refer to dunder methods often enough to need a shortcut for it.