Refactor My Code - I Wish I’d Thought of It!

Written by Chris on August 15, 2008 – 9:03 pm -

refactormycode.com is a fledgling website setup as a project by French Canadian  Ruby Developer Marc-André Cournoyer and basically it's like a coding forum without the usual forum junk, style and obfuscation of content (forums for me are always a pain to use because of the tiers of information you have to go through).

It's a great looking website covering all the current major programming languages (at least when thinking of the web) and the idea behind it, though simple, seems to work really well.

Basically, you have some code that works, but you want to make it better, more efficient, or just tidier. So, you post your code sample and other people suggest changes. It's kind of like yahoo answers for developers or the comments foot of the PHP manual.

The code to be refactored, so far in the PHP section at least, has been of a reasonable standard i.e. that of at least intermediate developers, which is great as these services can tend to get flooded by newbies who don't know their $i++ from their ++$i :p and rapidly lose interest for me.

So far there are only a few PHP samples on there to comment on but I think, as the site begins to grow, there will be a wealth of well developed and critiqued code that serves as good examples or directly useable functionality.

So far I can't really fault it, other than making the "Best" link clearer by calling it "Best Refactorors"  or something similar, and providing some closed, or accepted answer(s) type functionality to stop a thread getting out of hand (it could be that this exists already but I just haven't seen it yet). Maybe even an option to download each refactoring as a plain text file could be useful.

So, to round up, as you can probably tell, I love this site and you can see my standing in the community in the foot of this page! Keep up the great work Marc and I hope your site develops in the way it deserves and gets the recognition it should!



Popularity: 96% [?]

Sphere: Related Content

Related posts on coderchris.com:

  1. Funky ORM with PHPDoctrine
    I work on all sorts of little personal projects in my spare time, most...
  2. Advanced Syntax-Hilighting Online Code Editors - A Wordpress IDE?
    When I write plugins for wordpress I like to do it on a test...
  3. Why @ is NOT your friend
    Ah, the error suppression operator (@) It seems like such a fantastic idea, just...
  4. Making Flash Sites Easy
    OK, so a lot of people probably already know about this nifty little javascript but I...
  5. Running on Tomato
    At home I have Linksys WRT54GL router which I've had for 4/5 years now....


Tags: , , , , , , , , ,
Posted in Flash, JavaScript, PHP, Web Development | Trackback |

One Comment to “Refactor My Code - I Wish I’d Thought of It!”

  1. macournoyer Says:

    hey Chris,

    thx for the great review! I’m glad you like the site :)

Leave a Comment

RSS