Originally Posted by Rhobar121
Usually, however, developers prefer to give up and not even try, which in my opinion is sometimes good for the game (POE1 vs POE2)
The key point here is that said developers (hopefully) try to balance their game around not including resting restrictions, often either by making encounters more difficult so that long resting frequently doesn't make the game trivial, or by implementing cooldown-based abilities.

The problem with D&D 5e is that it has 2 types of rests, so the former solution doesn't quite work. So if Larian wants to preserve balance between classes, they either have to implement rest restrictions or make some serious changes to classes so that they're all balanced around long rests. But people would almost certainly rage even harder if Larian changed BG3 combat to cooldown-based.

Originally Posted by Rhobar121
So far, no one has managed to come up with a sensible way to limit the rest that could satisfy most players.
Coming up with something good has been a problem almost always. I don't remember a game where this was actually achieved satisfactorily
I can turn this around and say that it doesn't seem like Larian's solution satisfies most players either, at least going by responses on this forum. Who's to say if Larian's (lack of a solution) is better than any of these hypotheticals? Also, D&D 5e (and its dual-rest system) doesn't have many video game adaptations, so it's not like that many solutions have been attempted. Maybe there's a relatively easy-to-implement restriction that satisfies more people than no restriction.