this post was submitted on 21 Sep 2024
300 points (96.3% liked)
Programmer Humor
32479 readers
248 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
SO in a nutshell:
"I need to do X"
"Have you tried Y?"
"No, because I don't need Y, I need X."
"Well you can do Z if you can't do Y."
"OK, sure. But how do I do X?"
"Why do you need to do X?"
(Explains why in my hyper-specific situation, I need to do X, and Y and Z won't work)
This question has been marked as a duplicate of "How to do Y"
Except in 99% of cases the person is asking an xy problem, and if they ever explained the why, they would get a proper answer.
Often the reason no one does the hyper-specific thing, is that there are better non code solutions, it's massively insecure, or is just stupid micromanaging.
You know, when I typically ask a question on SO, its because I want to learn how that thing works, or how to write it myself. I usually say as much, but the SO folks are too focused on the ends, they completely neglect the means. Chances are I'm already aware of that no-code solution, but that's not what I'm asking for.
Which is fine when people do not reject the answers that are different from what they were expecting. Learning that the problem you have is a reason that noone does this, is a valid thing to learn.
It's usually when I see people moving the goal posts on replies, or complaining that they didn't answer the exact question that i see as frustrating. Or "I don't want to do that" with no more info.
But if you are aware of other solutions, you should state that in the question and give your reasons. It's a waste of time if you know someone might suggest what you have dismissed already.
The html question is a classic for this, they want to find non self closed tags. Why? Why can't they use a parser? What are they doing with this info? All questions that would give you a good idea on how the problem can be solved. Playing with regex would be a valid answer to that, but is not stated. Unfortunately I find so's format discourages extra interrogation.
The answer is not an attack on the person, but a frustration at the people before that ignored previous answers to use a parser.