Skip to main content
added 9 characters in body
Source Link

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrongIf my code doesn't work, my description of what I think my code is doing will obviously be wrong. The information I'm focused on is almost certainly insufficient. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrong. The information I'm focused on is almost certainly insufficient. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing will obviously be wrong. The information I'm focused on is almost certainly insufficient. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

added 343 characters in body
Source Link

You could spend an hour with that guy trying to read the tea leaves of his weird delphic mutterings and 1600x900 highly compressed JPEG screenshots with a tiny little textbox in the middle. This is a waste of your time (and his -- arguably that's on him, but you're supposed to be the one who knows better).

Also, if a user is making no sense it's likely because he's panicking and not thinking. If you can get him to calm down and think methodically, that may be all it takes. If someone's in a dead end ramming his head into the wall, nobody wins if you just join him at it.

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrong. The information I'm focused on is almost certainly insufficient. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

You could spend an hour with that guy trying to read the tea leaves of his weird delphic mutterings and 1600x900 highly compressed screenshots with a tiny little textbox in the middle. This is a waste of your time (and his -- arguably that's on him, but you're supposed to be the one who knows better).

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrong. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

You could spend an hour with that guy trying to read the tea leaves of his weird delphic mutterings and 1600x900 highly compressed JPEG screenshots with a tiny little textbox in the middle. This is a waste of your time (and his -- arguably that's on him, but you're supposed to be the one who knows better).

Also, if a user is making no sense it's likely because he's panicking and not thinking. If you can get him to calm down and think methodically, that may be all it takes. If someone's in a dead end ramming his head into the wall, nobody wins if you just join him at it.

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrong. The information I'm focused on is almost certainly insufficient. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

Source Link

I don't agree that the user had met the flag/downvote/leave threshold just yet. You could see it from where you were, though.

I would say that when this happens:

They didn't provide example data, only a description of the situation

...that's a major red flag, and it's time to instantly change your approach and turn a little bit monomaniacal (but gently -- or less so if the user is evasive and difficult) until you get a MVCE or something close to it. Everything but that MVCE is just squid ink.

A description means nothing. You hear the description and you visualize the code you would have written or the XML you would have designed -- but when you finally see the reality, it's like the colony in Aliens. It's a nightmarish incomprehensible hellscape of alien goo and weirdness. It's nothing like you imagined.

Heck, it's worse than that: It's as bad as the stuff I did when I was as green as they are. Most of them are just inexperienced, not stupid. They're doing their best.

When you see the code or the data, usually the inexplicable mystery becomes obvious, because they described what they intended to do, at a fairly high level of abstraction. What they actually did is different, very often obviously so, often stupendously so. You can spend an infinite amount of time trying to guess from vague hints, and it's all just time wasted. Sometimes you hit the psychic debugging jackpot -- somebody gives a clear enough description of a problem you recognize, and it turns out there wasn't something else wrong instead. That's really fun, on the rare occasions when it happens.

I parsed the integer but it dosnt work.

What's in the string?

"23". I checked.

Perplexing. Then you finally see the code.

private int n = 0;

public void parseIntager()
{
    try {
        object str = textBox12.Text;
        object n = "";
        Int32.Parse(n);
    } catch {}
}

You could spend an hour with that guy trying to read the tea leaves of his weird delphic mutterings and 1600x900 highly compressed screenshots with a tiny little textbox in the middle. This is a waste of your time (and his -- arguably that's on him, but you're supposed to be the one who knows better).

The moral of the story is just that you should never accept a description. This even goes for experienced programmers. If my code doesn't work, my description of what I think my code is doing is obviously wrong. With luck, after a decade or two we start to figure that out about ourselves and we don't waste people's time that way. Not a lot of users asking questions on Stack Overflow can be expected to have reached that stage yet.

Or sometimes it's somebody experienced who's just tired or rushed, who "just knows" it's not his code, even though he should know better, and when he coughs up the code you'll see perfectly good code with one dumb thing that just needed a second set of eyes.

But then sometimes they'll get dig in, stay evasive, and never give you anything concrete. Sometimes it's an obvious XY problem, they want to do something impossible, and they refuse to tell you what the real goal is.

Then you downvote, flag, and wish them luck.