Skip to main content
edited tags
Link
gnat
  • 6.2k
  • 10
  • 109
  • 177
edited tags
Link
Miral
  • 12.9k
  • 17
  • 4
Source Link
Miral
  • 12.9k
  • 17
  • 4

What's the right way to self-answer if other answers assisted?

After I asked a question that included some sample code, someone answered with a possible solution that wasn't quite what was wanted. After a little back-n-forth in comments, they edited their answer to include something that was closer, but still not quite right.

However, their answer did give me an idea and I ended up solving the original problem with a solution that was closest to the code originally posted in the question but with some minor changes inspired by the other answer.

I posted how I actually solved the problem as a separate answer, for future reference. But which answer deserves the tick? My answer was ultimately "more correct" (admittedly I'm probably biased there) but I probably wouldn't have thought of the solution without the other answer, and I want them to get some points for it, and more than just an upvote.

For the moment I've ticked their answer to give them the points, but I'm not sure that's "right" since ultimately it wasn't the solution used. Am I correct in assuming that if I change it to tick my answer, they'll lose the points? Any way to avoid that?

(Granted by now the points don't really matter, but it's the principle of the thing.)