Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
toyg
on July 21, 2020
|
parent
|
context
|
favorite
| on:
An exploration of why Python doesn't require a 'ma...
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:
If “main” has to be a special function, it must keep the dunder.