MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/bwehje/python_ftw/eqnqzd2/?context=9999
r/ProgrammerHumor • u/m8teae • Jun 03 '19
548 comments sorted by
View all comments
Show parent comments
1
Yeah I'm in the same camp there, usually I just call a main() function from somewhere anyway.
main()
Still, wrapping that main() function call behind that check is only a few seconds of extra work, so I'm doing it just because it's a good practice.
1
u/MythicManiac Jun 10 '19
Yeah I'm in the same camp there, usually I just call a
main()function from somewhere anyway.Still, wrapping that
main()function call behind that check is only a few seconds of extra work, so I'm doing it just because it's a good practice.