News for hackers. Stuff that matters.
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!
Re:HN “Why Not Simply” by Jenk on Sunday June 06, 2021 @06:01PM (#27416763)
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.
Re:HN “Why Not Simply” by aahortwwy on Sunday June 06, 2021 @07:21PM (#27417296)
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?"

Re:HN “Why Not Simply” by infogulch on Sunday June 06, 2021 @10:24PM (#27418345)
I mean, we solved the problem in the context of reference cycles during garbage collection.
Re:HN “Why Not Simply” by ketralnis on Monday June 07, 2021 @02:17AM (#27419582)
Why do you need to do garbage collection at all, why don't you just delete the garbage?
Re:HN “Why Not Simply” by Izkata on Monday June 07, 2021 @12:48AM (#27419092)
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.
Re:HN “Why Not Simply” by Agentlien on Sunday June 06, 2021 @11:44PM (#27418808)
I've seen this in discussions about games I've worked on where people suggest we simply do that one obvious gameplay tweak which we tried a year before release and it wasn't any fun in practice.