Timeline for Using as few queries as possible for many table associations
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2016 at 22:13 | history | edited | the Tin Man | CC BY-SA 3.0 |
added 3581 characters in body
|
Jan 25, 2016 at 22:07 | history | edited | the Tin Man | CC BY-SA 3.0 |
added 3581 characters in body
|
Jan 25, 2016 at 21:58 | comment | added | the Tin Man | Something to consider also is it's not the number of lines that's important, it's the readability and whether it's DRY enough. I'd much rather maintain some code that's a little verbose but very readable than code I have to spend 30 minutes decoding before I understand it. | |
Jan 25, 2016 at 21:07 | comment | added | the Tin Man |
That's because the current starting code has little repetition in the tests. Note that 1, 2 have been combined where they can't be using if -based code. case /when has a lot of potential to reduce long conditional tests greatly.
|
|
Jan 25, 2016 at 21:03 | comment | added | Bam | @theTinMan They look basically the same, except one is a line longer... | |
Jan 22, 2016 at 1:17 | comment | added | the Tin Man | You should read codereview.stackexchange.com/help/someone-answers. | |
Jan 22, 2016 at 0:53 | history | answered | the Tin Man | CC BY-SA 3.0 |