Quantcast
Channel: Are code improvement questions allowed? - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Alexei Levenkov for Are code improvement questions allowed?

$
0
0

Asking for "better" options is generally too broad question. May be suitable for http://CodeReview.stackexchange.com if asking to make working code generically better.

To make such question on-topic for Stack Overflow you need to define criteria to improve very clear and demonstrate what you've tried, why your approaches did not solve the problem and preferably good reason why you believe goal is achievable. I.e. asking why your collection seem to be sorted at O(n^2) with standard sort methods when you expect O(n log n) is reasonable, but asking to get such sorting to O(n) or less is not.

Most likely "make it better" question also need specific measurements (timing, code complexity, code coverage or whatever you need to improve) along with specific goals.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>