Re:HN “Why Not Simply”
by sarsway on Sunday June 06, 2021 @05:44PM
(#27416625)
The worst are always video game discussions. A studio releases a product they worked on for 5 years, with thousands of features and moving parts, and the comments are usually full of suggestions like: It's great, but I don't understand why they simply won't do X instead of Y, then it would be perfect!
[ Parent
| on HN ]
That is usually accompanied with "They need to spend more time optimising" or "Clearly they haven't optimised this yet" with a clear subtext that many believe game developers just have a dial or slider marked "Optimisation" and that the devs were just too lazy to crank it.
Probably my favorite comment of that genre, on a video which contained a pathing bug causing an NPC to walk in a circle endlessly,
"Seriously, how hard is it to just check if a path is infinite and stop the NPC from moving if it is?"
I mean, we solved the problem in the context of reference cycles during garbage collection.
Why do you need to do garbage collection at all, why don't you just delete the garbage?
Besides the "infinite" part, another problem with this is that the NPC's path isn't necessarily created all at once, but updated as the NPC gets closer to its target / obstacles in it path move around / etc, so there isn't anything to actually check for cycles.
Re:HN “Why Not Simply”
by greenshackle2 on Sunday June 06, 2021 @07:36PM
(#27417391)
Also: people who have never read a line of code in their life, complaining about "spaghetti code" in a game with emergent gameplay and complex interactions where some of the interactions are a bit weird or unintuitive.