I believe that this is the core of your question:
. . . it seems the chances of new users really learning anything diminishes on full blown code they can hardly even decipher that they might be just copying and pasting.
I agree that full-blown code won't help a new user. I contend that a minimal viable product/snippet is valuable, especially for questions where the problem is that the OP doesn't know what they don't know and has reached the end of what can be done without that information.
Caveat -- If the question is so broad that you cannot answer without giving a full implementation that they can copy-paste-forget, then perhaps you should flag it, not answer?
I can give you an example using a question+answer I found useful. I think it's especially relevant precisely because several users flagged it (in less than 2 hours) as not demonstrating a minimal understanding, which I believe solidifies the OP as a 'new user'.
Let's look at some parts of the question:
How to highlight a single word in a JTextArea
I am able to read in the text and give it back to the user, but I cant figure out how to highlight a single word.
OP can get the indices required to highlight but they're still stuck. The missing knowledge here is that the Highlighter class exists and that a JTextArea has an instance of Highlighter which can be easily accessed.
OP asks for the missing information:
How can I highlight a single word in a JTextArea using java swing?
The only answer was one line of text and then a code snippet that showed getting the Highlighter and using it.
Use the DefaultHighlighter that comes with your JTextArea. For e.g.,
some code
This is perfect. The answer addresses the first problem (OP doesn't know the Highlighter class exists) and then addresses the next problem (OP doesn't know how to get an instance of the Highlighter.)
I recognize that using a closed, old, and off-topic question to support my point will irk some of you. Sorry, but it's been a very helpful answer for me, and it's even still open in my browser, since I'm working on my own highlighting problem and don't want to lose that initial reference.