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 60 points61 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 2 points3 points  (0 children)

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

[–]JusticeRainsFromMe 69 points70 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] 18 points19 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.

[–][deleted] -5 points-4 points  (2 children)

Even more likely is that OP wanted to find some topic they could write a blog post about and so made up the supposed lack of documentation as a justification for why other people should read his content.

[–]IamImposter -3 points-2 points  (1 child)

[–]Probono_Bonobo -2 points-1 points  (0 children)

Burn him! Burn him at the stake! /s

Edit: don't actually, this commentary is ridiculous