Just some dude.

  • 0 posts
  • 8 comments
Joined 3 years ago
Cake day: June 11th, 2023
  • …HTTP is a high level application protocol and its errors are supposed to be around access to resources…

    I’ve had fellow developers fight me on this point, in much the same way as your parent post.

    “If you return a 404 for a record not found, how will I know I have the right endpoint?”

    You’ll know you have the right endpoint because I advertised it—in Open API, in docs, etc.

    “But, if /users/123 returns a 404, does that mean that the endpoint can’t be found or the record can’t be found?”

    Doesn’t matter. That resource doesn’t exist. So, act appropriately.

  • I want to play a game like Fallout, with perhaps a light plot, but a much heavier settlement building mechanic.

    Like, you found a settlement, and it’s filled with trash, debris, and burnt-out structures. As you scavenge and collect things, and attract people to your cause, the place slowly becomes cleaner and more structured. You can have settlers scavenge for themselves and fix up structures, farm for food, treat wounded, lead small armies against mutants and generally secure an area of a map, and really be able to treat the settlement as a home base.

    Playing Fallout 4, I was bothered by how I could build out all these settlements, place structures and whatnot, help these people, and still no one had the sense to pick up a broom and sweep up the pile of trash in the street.