Fork me on GitHub
#code-reviews
<
2015-12-01
>
borkdude15:12:44

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?

chris15:12:54

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?

chris15:12:09

I don’t think there’s a hard and fast answer here

borkdude15:12:10

@chris: in hindsight, I value readability more 😄

chris15:12:43

😀 haha I think that’s usually the right answer