3 ms·
If anyone really believes that an "Order" struct causes more "mental load", compared to passing around a tuple with a bunch of dollar amounts and random-looking
by StevePerkins 5y ago
If anyone really believes that an "Order" struct causes more "mental load", compared to passing around a tuple with a bunch of dollar amounts and random-looking strings, then I don't know what to tell them. The exact opposite seems obvious.
I've never seen a Python codebase larger than 10,000 lines, that didn't require exhaustive archeology for newcomers to figure out the contracts. I'm sure that the original authors (who are always long gone) had fun, though.