Possible Duplicate:
Code Golf, Code Review, and similar questions

A "code review question" is a question that asks for general ideas on improving a piece of code. Is it idiomatic? Are there any obvious mistakes or fragile bits? Could it have been done "better" in some sense of the word?

Feedback like this is always very valuable when learning a new language, or a new area of a system we already know. There is already a dedicated StackExchange site for code review questions, but Mathematica-related questions are unlikely to receive much attention there.

The discussion point: Should questions like these be on topic for our site? The obvious problem is that for such questions there's usually no clear answer that can be accepted, and their usefulness for future visitors is limited. Do questions like this fit the format of the site?

There was a question about this before but there everyone was focusing on code golf, not on code review, so I think it's worth starting a new discussion.

This post was prompted by a code review question posted a couple of minutes ago:


  • This really is a duplicate of my previous question. Please edit it as you see fit.
    – Mr.Wizard
    May 9, 2012 at 21:20


Browse other questions tagged .