I had a situation at work where we had an edge case in a component: sometimes a logo didn’t appear. When I noticed this, I responded as a dumb developer.
I didn’t look around, and notice in other very similar components that there was a fallback for this scenario. Instead, I just saw a lack of a logo, blinked, and just mentally folded.
Don’t do this. Don’t be a dumb developer.