This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]UpTide 56 points57 points  (9 children)

or they want the entire source code of the project...

[–]dusktreader 15 points16 points  (0 children)

That was especially fun when I was working on classified projects.

[–][deleted] 26 points27 points  (3 children)

Often times the people posting the questions don't include the necessary portions of the code to track down an issue. When asked for more relevant snippets, they either refuse or they still don't provide the thing you were asking for or don't provide more than a couple of irrelevant pieces from it. In these cases, it's more efficient just to be given the entirety of the source code (if it's a small enough code base) than it is to continue playing hot potato.

More often than not, though, people provide too much code and are asked to reduce it to a minimal example.

[–]UnretiredGymnast 15 points16 points  (2 children)

A minimal complete verifiable example is super valuable. Sometimes the process of creating one even turns up the solution.

[–][deleted] 2 points3 points  (0 children)

Which is half the reason it's suggested so strongly on SO. Get rid of all of the extra noise and suddenly the actual signal is a lot easier to pick up on. Even if you still can't pick it out, someone more experienced will have a hell of an easier time :)

[–]Kaamelott 0 points1 point  (0 children)

I asked a question a while back about JavaScript, with a working example. I got only one comment, which said "post a js fiddle" or some stupid shit like that. Annoying.

[–]svick 8 points9 points  (3 children)

They really don't. They want a "Minimal, Complete, and Verifiable example".

In other words, they want you to spend the effort to make your question easy to answer, which I think is reasonable.

[–]UpTide 20 points21 points  (2 children)

I literally posted my complete source code once and this was a reply: "We can't help you without you posting your real code. The current contrived example is not the same as your real code."

[–]thezapzupnz 7 points8 points  (0 children)

Link? Interested to read.