code-reviews

borkdude 2015-12-01T15:39:44.000021Z

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?

chris 2015-12-01T15:41:54.000022Z

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?

chris 2015-12-01T15:42:09.000023Z

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

borkdude 2015-12-01T15:42:10.000024Z

@chris: in hindsight, I value readability more 😄

chris 2015-12-01T15:42:43.000025Z

😀 haha I think that’s usually the right answer