Is there a good SE site that is only about refactoring?

I know there are sites like this, but SO has the largest audience of programmers so a section where you can just post a code snippet and people can give advice on refactoring it.

  • 11
    An entire site for this? What's wrong with just asking for help on SO? I think a good book would help a lot more than that.
    – GManNickG
    Commented Oct 31, 2009 at 16:16
  • Yeah, agree with GMan on that one.
    – squillman
    Commented Oct 31, 2009 at 16:34
  • thirded - this is a terrible idea sorry
    – bananakata
    Commented Oct 31, 2009 at 17:33
  • 1
    refactormycode.com (which incidentally was used in the creation of StackOverflow - refactormycode.com/codes/333-sanitize-html and refactormycode.com/codes/360-balance-html-tags )
    – dbr
    Commented Oct 31, 2009 at 18:20
  • "An entire site for this?", @GMan, I agree, you are perfectly right! But why do we have entire site for golf, entire site for code review, entire site for super user, entire site for server fault, programming, ... That's a real site overkill, isn't it?
    – Tomas
    Commented Oct 17, 2011 at 8:24

5 Answers 5


For anyone currently browsing this question (October 2011), this currently exists at codereview.stackexchange.com (beta status).


Stack Overflow could be used to do that. In fact, I've used it for that in the past.

I'd recommend a tag like Refactoring or refactor-my-code but either would work.

The 'question' part would be How can I refactor this code for X ?

  • 1
    Actually, the best format for the title would be "How can I refactor this [language] code in order to achieve [your goal]?" where [your goal] might be "extensibility", "less memory consumption", etc. Commented Oct 31, 2009 at 17:04
  • Absolutely; whatever works. I couldn't care less about the actual text of the question; so long as it was descriptive and targetted. X = usability; speed; maintainability; conciseness. The tags take care of which language he's talking about. Commented Oct 31, 2009 at 17:11
  • 1
    Code refactoring questions on SO are generally frowned upon, but may be acceptable in certain circumstances.
    – Noldorin
    Commented Nov 1, 2009 at 0:23

You undoubtedly seem to be looking for RefactorMyCode.com. This is a relatively new yet well-established site for anyone to come along and propose improvements/refactorings to your code, in a vaguely collaborative/wiki-like way.


As an addendum to the other answers recommending SE Code Review it should be noted that only real, fully working code is accepted there. Also you should describe what should be refactored in particular, and maybe add some description of your attempts.

Another option to ask for such from a more theoretical background (using a hypothetical code example) would be to ask at SE Software Engineering, but as well you should show some effort about your ideas, research and attempts.


I am not sure, but I think you are looking for codereview

Not the answer you're looking for? Browse other questions tagged .