alertsleeper

joined 1 year ago
 

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

[–] alertsleeper 1 points 11 months ago
[–] alertsleeper 5 points 1 year ago

that makes sense, thank you!

 

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!

[–] alertsleeper 5 points 1 year ago

Wow I can't believe I hadn't heard about this WEI monstruosity

[–] alertsleeper 15 points 1 year ago (1 children)

if the kids distract me when I'm in the middle of something, a certain amount of cursing might happen

That certain amount must be a rather fun one knowing his insulting prowess

[–] alertsleeper 2 points 1 year ago

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?

[–] alertsleeper 6 points 1 year ago (1 children)

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.

[–] alertsleeper 3 points 1 year ago (2 children)

Would you be so kind as to recommend some resources about caching? I've read the basics, but have yet to dive deep on it

[–] alertsleeper 10 points 1 year ago

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.