• AliasAKA@lemmy.world
      link
      fedilink
      English
      arrow-up
      16
      ·
      5 days ago

      You can, of course, feel free to show us how you’d implement this in python. It’s fine to say you would do it differently, but don’t stop there, show how/what you would do differently. Add to the discussion, like the person you were replying to did, don’t detract.

    • magic_lobster_party@fedia.io
      link
      fedilink
      arrow-up
      10
      ·
      5 days ago

      It’s just example code to demonstrate the idea of the optimization explained in the article. I also based my code on the code used in the article (and made some major changes to better fit my attempt of explanation).