Skip Navigation
cmp::Ordering vs comparison symbols

beginner question: What is the advantage of using cmp::Ordering::Less over "<", same for Greater and Equals?

3
Software or other way to mock-up my idea of game movement

I'm starting to plan what would be my first game. I have a general idea of the movement system I want, but I'm unsure if it will work as I expect it.

Is there any software where I can make a sort of animated mock-up of what I have in mind?

Alternatively, how is this typically addressed in game development?

Thank you!

6
How to improve Python packaging, or why fourteen tools are at least twelve too many
  • I have been using PDM for a while now and love it, can't believe I was using pip before, especially for venv handling and packaging.

    I wonder, having tools like PDM or Poetry that unify the whole process, why do people prefer to use fragmented tools (one for venv, another for packaging, another for publishing)? Is it just entrenched habits or not knowing the benefits of other tools?

  • You might as well timestamp it
  • I think this timestamp-as-a-boolean is a good idea if the field is always going to be interpreted as either True or False and nothing more. If the field in question allows for a 3rd (uncertain) value, then using a timestamp would be extremely confusing.

  • Programming and Humility
  • I think that the reason is precisely the difficulty. Someone is asking for help with something that (for others) is not that difficult. Some people think "ha, poor fool, I've solved this, they're dumb and shouldn't be programming", while others go ahead and actually help the person in good faith without being a dick.

    TLDR: Some think programming is a competition and they must be the winners, others realize it's a community effort where we step on each other's shoulders to go higher.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)AL
    alertsleeper @programming.dev
    Posts 2
    Comments 8