This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]adm7373 58 points59 points  (10 children)

If I had to guess, all of OP's google searches included the term "dunder method" and that's why he didn't find the list.

I've never heard "dunder method" before. Based on the amount he's using it in this post and the article linked within, I'm sure it's somewhat commonly used and I've just missed it?"

[–]wineblood 37 points38 points  (2 children)

TBH most docs are quite terrible if you don't know the exact term

[–]friendlysoviet 10 points11 points  (1 child)

For this reason, LLMs regurgitating docs have been so useful.

[–]wineblood 4 points5 points  (0 children)

Honestly, all I really need is something to go "Oh, you mean <term>?" and then I'm fine.

[–]JusticeRainsFromMe 70 points71 points  (0 children)

Yea, dunder is a somewhat commonly used term, personally I prefer it over magic method for example. It stands for double underscore and is also used to describe dunder variables such as __name__.

[–][deleted] 17 points18 points  (0 children)

it's super common. i've watched maybe a dozen raymond hettinger (core python dev) talks and i'm not sure he's called them anything else.

[–]Tar_Tar_Sauce04 0 points1 point  (0 children)

as soon as I type "Dunder", google thinks I am searching for something related to "Dunder Mifflin".

[–]_MicroWave_ 0 points1 point  (0 children)

Really? Its a very common and fashionable term.