Fork me on GitHub
#code-reviews
<
2016-04-18
>
jethroksy01:04:45

Hello! I'm looking for some feedback wrt to how I should refactor my code.

jethroksy01:04:54

I notice that my code is much like a decision tree: 1. Contains id? -> Some DB Operation -- Success? --> some response

jethroksy01:04:13

I end up writing a lot of this db handling, and I'm sure there's a way i can reduce the amount of code here, or write in a higher level of abstraction