from Hacker News

Show HN: RefactorMe – Stackoverflow for Refactoring

by marcamillion on 7/2/16, 4:35 PM with 17 comments

  • by shanwang on 7/5/16, 10:43 AM

    This is interesting, how many languages do you support?

    This can be very useful for people learning new language, for example I'm learning angularjs and javascript, I write a lot of code with them that work but I'm pretty sure they can be improved a lot by a angular/js expert.

    How about a feature to open a bounty and pay real money to people who refactor the code, and only the refactoror and initiator can see the code?

    Also may I ask which editor do you use in the new question form?

  • by marcamillion on 7/2/16, 4:44 PM

    For the longest while I have wanted a site that just focused on refactoring, so I finally just built one and shipped it. A bit light on content right now, but you should get the idea.
  • by marcamillion on 7/4/16, 8:40 PM

    By the way, I would love a suggestion with finding content to beef it up a bit.

    I know GH is a huge source of OSS code, but how do I (easily & quickly) find code I can use that could be a good candidate to be refactored?

    Ideally, it would be good if the code didn't have too many dependencies or it would be easily understandable so I can explain what the goal is for the refactor.

    I tried just searching GH for the phrase "please refactor me", but that turned up a lot of old code and crap...basically.

    I would love to be able to go through some of the large OSS projects (Rails, jQuery, any other large ones) and quickly find code that needs to be refactored and preferably have an explanation.

    Anyone have any suggestions for how I might be able to do that without actually fully understanding the code snippet I am referencing?

    Edit: Hat Tip to pkroll for also confirming that this should be a viable strategy to get content in his comment on this thread.

  • by firebase on 7/4/16, 12:49 PM

    Looks really great.. However I'd recommend putting a "Learn more" button, that describes the goal(s) of the platform. For example what can people post and what they cannot. I really would like to use this service but I'd also want it be clean and specific, so I know what to expect here.
  • by Rainymood on 7/4/16, 12:51 PM

    The name (especially the 'plz') might be off-putting for some people (i.e. me). A future idea may be to refactor your name (heh).

    Best of luck, I hope it takes off!

  • by claymullis on 7/3/16, 2:36 PM

    Outstanding. Hope it takes off.
  • by bjourne on 7/3/16, 2:04 AM

    Looks pretty good!