# Stack Overflow moderator declined to migrate question asking to shorten code

According to the FAQ, the following topics are wanted on Code Review:

Isn't there a point missing? I see a review of my code not only as an attempt to improve performance, security and structure, but also to reduce redundant, unnecessary code paths.

Isn't improving readability a major goal in a code review?

Specifically, I flagged this post, from which I think belongs on Code Review as there is no problem with it. My flag got declined because the moderator didn't see any evidence to intervene.

• Yes, those things are also allowed, but not all mentioned in Tour. The site's scope is best covered in How to Ask. – Jamal Jul 22 '15 at 5:58
• Thanks. I just stumbled over this post. It basically answers my question, but I'm still confused. Should I flag a question on SO, which wants code to get shortened or not? – greenhoorn Jul 22 '15 at 6:08
• Generally speaking, code refactoring requests are frowned on over on SO because the OP is usually incapable of sufficiently clarifying the question in such a way that it would be useful to future visitors. (see: meta.stackoverflow.com/questions/295665/…).. – cimmanon Jul 25 '15 at 12:45

• Poor question quality (the "Don't Migrate Crap" rule). The question basically consists of a code dump with no explanation of motivation. What is a? What does length_wordlist mean, and are there just two cases or is this an excerpt of 2 out of n cases? The code looks like it might be incomplete, since the first case has FILE.close() but the second case does not.