Return exceptions for exceptional situations. Return result objects for other non-happy-path results.
How to identify when is something “exceptional”?
Debugging a tricky production issue. Here is what I usually do, in order of preference:
There is a lot of push-back lately against over-architecting and too-early-abstraction. I think this is great, “DRY” often leads to bad architectures.
However, I feel it can be harmful if we don’t decide when exactly a thing is “over-architected”…
This is how I identify “over engineering”:
When adding complexity to code in order to…
I’m busy adding two very simple screens to our website and feel anxious about how long the work is taking. That got me thinking about what kinds of things you need to consider when you’re building top quality public-facing websites.