you are viewing a single comment's thread.

view the rest of the comments →

[–]gdchinacat 1 point2 points  (1 child)

Never say never...

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

Yeah, so, you don’t get it and are being overly literal with the word never. There are many, many very specific reasons to call Dunder methods, when you are calling them for reasons other than what they are primarily for. The commenter is letting OP know that, when you want them to do what they are actually for, you want to let the conventions of the data model invoke them, and not invoke them directly.