what's the opinion here: SQL queries: a 50-liner that is probably more performant because DB can optimize it, or split up in multiple queries, lose some performance, but gain legibility?
for my money it just depends on your system. do you need that performance, or do you value being able to read what it’s doing more?
I don’t think there’s a hard and fast answer here
@chris: in hindsight, I value readability more 😄
😀 haha I think that’s usually the right answer