I worked really hard to create an answer to a question. There was an in-depth response, a fully functional working code example that took 4+ hours to create. Then I watched as the "deleted by" popup appeared -- the original poster deleted their question.
Is what I just learned to first upvote any question that I deem worthy of crafting a detailed response to? (Assuming my own upvote would then prevent the user from deleting their question? I need confirmation that this mechanic would indeed work. If I upvoted it before answering, would that have prevented it from being deleted? I ask because of this Question with answer deleted?)
Anyway, I think that's what I've just learned. It severely sucks that I had to learn this the hard way though. I wonder how many other users will get burned by answering a "0" question.
Today Stack Overflow gave me disincentive for answering a "0" question without making the potential cost (all my hard word deleted) known to me and that doesn't seem right.
EDIT: Here's a follow-up to help put this in context, since this post was predicated on me being given some misinformation. The most valuable information I got after asking this is that upvoting a question does not protect it from being self-deleted by the asker. Thanks, everyone for that clarification. It definitely invalidates the approach I proposed to working around the problem (upvoting before answering). However it doesn't invalidate the rest of my reaction (being miffed about putting effort into a question that can be deleted.) Admittedly, I'm glad I expressed this in the context that I experienced it, though, because it was an authentic reaction. My feeling of being once bitten twice shy regarding putting effort into answering a question that has the potential to just be deleted still seems valid.