• 0 Posts
  • 134 Comments
Joined 4 months ago
cake
Cake day: November 5th, 2025

help-circle


  • Been there, so many times.

    Late in Perfect Dark Zero’s development (a complete shitshow to get launched for X360 day 1) we added something called “kill planes”, behind which all entities would get nuked. The aim was that you would physically move through the world and eventually get to “no turning back” points, behind which we could remove all entities to save some cycles.

    Turns out there were a large amount of places that assumed that once they had a pointer to an entity that pointer would remain valid.

    So yeah, code that was like “I’ll just flip this bit on this entity I kept track of” was now flipping random bits on memory.

    These were fun to chase down.

    In the end we inplemented NoTaD pointers (“notified on target destruction”, essentially weak pointers but this was back in the day when weak pointers and smart pointers weren’t really well defined) that would discover when the thing they took a precious pointer to was actually no longer valid.











  • I’ve stayed away from Facebook since forever. It was a principle for me, for a long time.

    Then I realised that, at least here where I live, whether I like it or not, if I need to engage with something local (local game group, neighbour discussion, updates from the council etc.) Facebook is actually the better place to do it, because it solves a discovery problem that WhatsApp hasn’t really (and where a lot of local stuff also congregates).

    I still deeply dislike it and stay away from it. But on the odd occasion I need/offer something from/to the local area, it’s the only game in town.

    Town being south of in the UK.








  • OP is obviously ignorant of how much tooling has already helped write boiler plate code.

    Besides AI code is actually one of the things that’s harder to detect, compared to prose.

    And all that said, AI is doing an amazing job writing a lot of the boilerplate TDD tests etc. To pretend otherwise is to ignore facts.

    AI can actually write great code, but it needs an incredibly amount of tests wrapped around and a strict architecture that it’s forced to stick to. Yes, it’s far too happy sprinkling magic constants and repeat code, so it needs a considerable amount of support to clean that up … but it’s still vastly faster to write good code with an AI held on a short leash than it is to write good code by hand.