Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

When asking a question, how necessary is it to provide an attempt? Usually when I have a question for SO, I know right away that any solution I provide is going to be heavy-handed. For example, in this recent questionin this recent question, I didn't provide a solution attempt because I knew there'd be a one-liner out there and all of my ideas were pretty bad. Turns out Dan D. provided this:

l.sort(key=lambda v: (len(v.split('.')), v.split('.')))

I would have never arrived at this solution, and that's exactly what prompted me to ask the question.

In the future, is it better to provide an attempted solution even if the solution is poor? A lot of the time, I provided attempts seem interpreted as acts of good will.

Thanks

When asking a question, how necessary is it to provide an attempt? Usually when I have a question for SO, I know right away that any solution I provide is going to be heavy-handed. For example, in this recent question, I didn't provide a solution attempt because I knew there'd be a one-liner out there and all of my ideas were pretty bad. Turns out Dan D. provided this:

l.sort(key=lambda v: (len(v.split('.')), v.split('.')))

I would have never arrived at this solution, and that's exactly what prompted me to ask the question.

In the future, is it better to provide an attempted solution even if the solution is poor? A lot of the time, I provided attempts seem interpreted as acts of good will.

Thanks

When asking a question, how necessary is it to provide an attempt? Usually when I have a question for SO, I know right away that any solution I provide is going to be heavy-handed. For example, in this recent question, I didn't provide a solution attempt because I knew there'd be a one-liner out there and all of my ideas were pretty bad. Turns out Dan D. provided this:

l.sort(key=lambda v: (len(v.split('.')), v.split('.')))

I would have never arrived at this solution, and that's exactly what prompted me to ask the question.

In the future, is it better to provide an attempted solution even if the solution is poor? A lot of the time, I provided attempts seem interpreted as acts of good will.

Thanks

Post Closed as "Duplicate" by gnat, Martijn Pieters discussion
Source Link
Adam Hughes
  • 16.2k
  • 10
  • 6

Do questions have to have an attempted solution?

When asking a question, how necessary is it to provide an attempt? Usually when I have a question for SO, I know right away that any solution I provide is going to be heavy-handed. For example, in this recent question, I didn't provide a solution attempt because I knew there'd be a one-liner out there and all of my ideas were pretty bad. Turns out Dan D. provided this:

l.sort(key=lambda v: (len(v.split('.')), v.split('.')))

I would have never arrived at this solution, and that's exactly what prompted me to ask the question.

In the future, is it better to provide an attempted solution even if the solution is poor? A lot of the time, I provided attempts seem interpreted as acts of good will.

Thanks