4 ms·
> it never comes up because when you know what domain you're working in it's always immediately obvious what types the arguments are. Oh this one is hilariousl
by dgan 3y ago
> it never comes up because when you know what domain you're working in it's always immediately obvious what types the arguments are.
Oh this one is hilariously wrong. Is it InvoiceLine that we are getting here? Or Maybe LineInvoice? Nope those aren't the same. But the only argument is called «line». How shameful. Much sadness. Better add a print statement, push a new build and comeback in twenty minutes
- okasaki 3y agoIt sounds like the codebase sucks or you haven't taken enough time to understand it.
- dgan 3y agoThat's beside the point. Those types ("types" you see? hehe) go against your argument "it's obvious from the context", because now it becomes "it's obvious from the context if you are lucky enough that your codebase doesn't suck or you spent 'enough' time figuring it out"
- esafak 3y agoSuppose it sucks, and you are expected to contribute to it already. Welcome to the real world?