8
int32
2d

messy backend API. root level payload object has a property that is being repeated in a property that takes an array of objects where this same property exists in each object in this array.

why do people work in a messy manner like this? why pass the same data twice in the exact same request?

(lead architect is smart, but holy fuck is his work a goddamn mess of technical debt and hurts my brain and productivity)

Comments
  • 0
    Only vape reason (although one can usually avoid it) is even an object implements two interfaces. The API requires a param for each interface. Ah the same object is presented twice.

    Most of the time I've seen doc like that it's premature optimization (interfaces should not have been split) or huge class syndrome.
Add Comment