Skip to main content
4 events
when toggle format what by license comment
Sep 9, 2015 at 19:52 comment added John Bollinger If I'm inclined to answer a question with an alternative to the requested solution flavor, I like to also answer it as posed, when possible, in the same answer. When I can do this, it tends to provide a strong basis for offering the alternative, yet still answers the question as posed in the event that my alternative is not viable for the OP.
Aug 11, 2014 at 7:45 comment added ChiefTwoPencils I'd agree with that. I'm a bit of a question purist so I think if they ask for a specific solution in a valid question, which is the part I think you're referring to, you should give it if not only in a pseudo style. Then explaining why it's considered bad practice and better approaches would be great and definitely more beneficial in general. If nothing is explicitly requested then doing so is of course covered above. @Lundin
Aug 11, 2014 at 7:03 comment added Lundin In particular, I think it is valid to suggests an alternative if the OP's question is based on bad programming practice. To just answer the question might help the OP, but not other readers. To propose an answer that suggests a better programming practice is therefore a very good thing, as it can teach other readers that the OP's method isn't something they should be using. Such alternative answers by an expert on the topic add a lot of "wiki" value to the site, even though they rarely become chosen as the accepted answer.
Aug 9, 2014 at 9:42 history answered ChiefTwoPencils CC BY-SA 3.0