Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dunder methods don’t “look” special, they are. Marking them as such has side-effects, and as soon as you see a dunder, you know you’re going “lower”.

If “main” has to be a special function, it must keep the dunder.



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

Search: