The first post of a new python blog I started if anyone is interested.

  • kyoji@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 months ago

    Can you share a little more about what this is? What are you trying to achieve? What is the motivation?

    • ecstatic_chance@mander.xyzOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      2 months ago

      I’d like to write a piece of software that generates text for characters based upon the personality stats of those characters. I’m currently writing the software with a KivyMD UI and a Mongo database. My motivation is: why not?

      • kyoji@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 months ago

        Cool! You should add that in greater detail to your blog. Currently its lacking a lot of context, so your only post isn’t very interesting as a result. Thanks for sharing!

  • logging_strict@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    If it’s worth sharing it’s worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit

    If that had been done, tox would give feedback that match switch support is py310+

    functools.singledispatch might be helpful to test multiple implementations

    Complaint about sharing code within a blog post is the quality is ALWAYS suspect.

    Lets leave crapoverflow.com style code examples in the past. Instead share tested code.