• @jjjalljs@ttrpg.network
        link
        fedilink
        74 months ago

        Some languages are just worse to work with. like JavaScript. Console.log is like sure I’ll log your object but I’ll tell you what it is now, not what it was when you logged it.

          • @jjjalljs@ttrpg.network
            link
            fedilink
            34 months ago

            I’ve never had a complaint about logging stuff in python. It generally does what I expect.

            “Create a copy of your object and print that” is what I ended up doing, but I don’t think most people would say that’s intuitive. I expect if i print something at a particular time, I get what it is at that point in time.

      • @waigl@lemmy.world
        link
        fedilink
        24 months ago

        I can see it going both ways. Talking about execution times, this would be an exaggeration, but then, these memes always are.