▲ 733 ▼ Python needs an actual default function (lemmy.ml) submitted 1 year ago by HiddenLayer555@lemmy.ml to c/programmer_humor@programming.dev 160 comments fedilink hide all child comments Also, do y'all call main() in the if block or do you just put the code you want to run in the if block?
[–] SpaceNoodle@lemmy.world 23 points 1 year ago (1 child) Academic code is absolutely horrific. Fortunately, it is possible to translate it for practical applications. permalink fedilink source parent hideshow 2 child comments replies: [–] arbitrary_sarcasm@lemmy.world 13 points 1 year ago As someone in academia who writes code, I can confirm. permalink fedilink source parent
[–] arbitrary_sarcasm@lemmy.world 13 points 1 year ago As someone in academia who writes code, I can confirm. permalink fedilink source parent