logoalt Hacker News

scoofytoday at 6:36 AM0 repliesview on HN

It’s only weird syntactically. Python tends to lean towards intuitive, natural language by default. I would have assumed they’d have created a syntactically straightforward alternative, like:

__this_file__ == “__launch_file__”

or similar. I understand python values “only one way” of doing things, but it would be helpful for readability.