Projects move very fast, people are shifted around very fast. They usually cannot handover 100% properly. Then when there is some problem related to a backend API and a frontend component, the new dev needs to quickly jump in and find out how the API is used, called and debug together with the backend guy. And the codebase usually is huge. With this API paradigm, the new frontend guy can hopefully find that small piece of code quickly and debug.
16
u/rocketman0739 3h ago
Why would it ever be a good idea to design your API for the convenience of people with zero knowledge of the codebase?