Don't forget the other way of sidetracking what you're asking for: "Why are you doing this, do something else instead."
I think most of my questions ended up with this, when I had very good reasons for doing it the way I was doing it. I typically wasn't showing it because I had isolated the problem I was facing into the minimal amount of code to duplicate it, or I was stuck with the particular tech I was using and we had 12 years of code built on top of it and I couldn't switch.
Oh, yes, I remember these kinds of answers distinctly frustrating. But it was not singular to SO. Reddit had a similar vibe at times. I remember I was studying some C things back when and asked about speed and what was essentially loop unrolling. Tip answer was why do you care about speed. Bruh, I am trying to get a mental model of how this thing works.