726
Python needs an actual default function
(lemmy.ml)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Yeah. I like using
main()
that way too. It's usually just a high-level function that handles globals relevant to running in standalone and calling other functions to do work.