Re:The most copied StackOverflow snippet of all time is flaw...
by analyte123 on Thursday June 17, 2021 @01:21AM
(#27536343)
What would really help with the vision here is some way to comment and associate tests against posted code. I have corrected algorithms on Wikipedia that were obviously wrong with even a cursory test. Then people can adjust the snippet, debate the test parameters, or whatever else they need to do while maintaining some sort of sanity check. If it’s good enough for random software projects used by a dozen people, it’s probably good enough for snippets used by thousands of developers and even more users.
[ Parent
| on HN ]
Re:The most copied StackOverflow snippet of all time is flaw...
by travisjungroth on Thursday June 17, 2021 @01:30AM
(#27536374)
This post made me think the same thing. It would be nice to have a StackOverflow that was actually more code focused. People could write tests or code and actually run them.