3 ms·
Thank you for the feedback and gist, I will take it into consideration. We use the 'happy path' style at work. It is OK. I find it has its own set of disadvant
by ryanpcmcquen 7y ago
Thank you for the feedback and gist, I will take it into consideration.
We use the 'happy path' style at work. It is OK. I find it has its own set of disadvantages as well. I am also not a fan of negative/negating conditions.
Whenever possible, I try to write the code the way I would explain it in plain language. This may be antithetical to the majority of modern programming, but I am OK with that.