Yandere Simulator is a dumpster fire of terrible code that gets worse with every update, made by a developer who cannot remotely take criticism (constructive or otherwise), and refuses to actually take sincerely offered programming advice from people who have far more experience.
I really don't think that game should be used as a *good* comparison...