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?

  • ℍ𝕂-𝟞𝟝@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    15
    ·
    3 days ago

    Do you also have nothing but love for those 50+ cell Jupyter notebooks that don’t use a single function and have everything in the global scope?

    • Eager Eagle@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      3 days ago

      the best thing is when not even the author knows the correct order of running the cells; because of course it isn’t top-to-bottom.

      • ℍ𝕂-𝟞𝟝@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        11
        ·
        3 days ago

        Yeah, and also zero dependency management, so you are free to figure out what combination of Python, Tensorflow and Keras will make it not throw random exceptions.

        And don’t forget the number one rule: you must use all the graphing libraries, all the time.