When Someone Says, "Why would you want to do that?"
nickmudge.info
nickmudge.info
<glyph> For example - if you came in here asking "how do I use a jackhammer" we might ask "why do you need to use a jackhammer"
<glyph> If the answer to the latter question is "to knock my grandmother's head off to let out the evil spirits that gave her cancer", then maybe the problem is actually unrelated to jackhammers
And yes, "because I want to learn how it works" is a valid answer. But the question is valid too.
The emphasis on "that" in the first one is usually rather accusatory and the "Hmm" in the second one dramatically changes the entire tone. In face to face conversation, the vast majority of meaning is not in the words but in the body language, facial expression, and voice tone (and maybe a few other things I am forgetting). The actual words we use are a tiny part of it, which is part of why online communication can be so rife with pitfalls of misunderstanding (which can lead to flame wars etc, which would probably be avoided IRL by voice tone, etc while saying possibly the exact same thing as was written).
There is a big difference between writing an XML parser for purpose of learning how they work, and writing an XML parser because you are too ignorant to learn how many times before they were already done badly, but still way better than what you will produce.
I would also respond with forementioned question if somebody asked me: "How do you go about mending car chassis with duct-tape??".
But then I might also ask the question, when faced with a new concept that might be really, really cool. But I was thus far completely unaware of - due to either my own ignorance or lack of experience.
In either case - I use the phrase to introduce some humor (or vent some frustration) in an awkward situation.
I've noticed a certain anti-intellectualism going around this country; since about 1980, oddly enough. … I was in Nashville, Tennessee, and after the show I went to a Waffle House. I'm not proud of it, but I was hungry. And I'm sitting there eating and reading a book. I don't know anybody, I'm alone, so I'm reading a book. The waitress comes over to me like, [gum smacking] "What'chu readin' for?" I had never been asked that. Not "What am I reading?", but "What am I reading for?" Goddangit, you stumped me. Hmm, why do I read? I suppose I read for a lot of reasons, one of the main ones being so I don't end up being a fucking waffle waitress.
In a tutorial, like the book referenced in the article, the reader is being demonstrated things that they might need someday.
In my opinion it is more polite and less ego centric to simply answer the question first, and then, if you are still inclined to prejudge the query as something reflecting the ignorance, mention you are suspicious of its intent.