Yes, they don’t understand, so what?. Maybe they’re young, maybe they just never learned. Do you really think your backhanded comment is going to make things better? If you want to strike people down for asking questions that are too simple from your perspective, you should visit stack overflow more often.
You response mentions the right issues, but tone of voice matters. If you insult, belittle or alienate anyone who tries to understand what they don’t understand, you’re just throwing them to the republicans or the right wing populists.
People these days are often not interested in learning or understanding. If someone does, you should encourage that.