Fix That Code

collaborative code refactoring

Coding is an art. There are many ways to paint an apple, but which is better? Most of the code we write everyday can be written in better ways to achieve different objectives. Sometimes all it takes is a fresh pair of eyes. Code quality can be observed through various identifying markers. Perhaps you're not aware of them, don't have time to look for them or are too caught up in the moment to notice?

That's where steps in! Its a place where you can get feedback on your code, challenge other developers to improve it, work out ideas, in general just collaboratively discuss or rewrite a piece of code. It allows you to show pieces of bad code you find, but to also fix them and teach people how to avoid repeating those mistakes.

Come on in and help us write better code!

You can get help in these categories:

Make this code better

How can this code be improved? Readability, performance, architecture, all aspects.

Make this code faster

This code needs to fly, looking good does not matter, it just needs to be fast, how can it be improved?

Coding Horror, be scared

We see things that should never be done or repeated, these are good examples, teach people how to fix them.

Give me feedback

What's good or bad about this code? People trying to get a general idea of what their code looks like.

I dare you to improve this

I think this code is awesome, I challenge you to prove otherwise.

Latest Code Entries

  • Make this code better

    encryption and decryption 0 reactions

    input"input the message you want to decrypt/encrypt ",text$ input "do you want to decrypt or encrypt",process$ input"what shift would you like",shift if process$ = "e" then goto encrypt else goto decrypt endif encrypt: input "",ciphr$ for n = 1 to length(text$) letter$= mid(tex

    Oliver Hacker about 18 days ago

  • Make this code better

    Slideshow 0 reactions

    Created in Dream Weaver. Trying to create a slideshow. Slideshow isn't working, can't figure out where I went wrong!

    Elaine Edwards about 49 days ago

  • Give me feedback

    Php object design - good practise to set attributes 0 reactions

    I have this Config class, taken from someone else project, and I'm trying to refactor it as an exercise. PHPMD guidelines say that an object shouldn't have more than 15 attributes. So I started working on this aspect and I'm looking for a good solution to improve the object. I will attach the

    wwr about 2 months ago

  • Give me feedback

    Php object design - good practise to set attributes 0 reactions

    I have this class (taken from someone else project) class Config { protected $database = array(); protected $hashMethod = 'bcrypt'; protected $defaultRounds = 8; protected $randomRounds = false; protected $minRounds = 5; protected $maxRounds = 9; //and 30+ othe

    wwr about 2 months ago

  • Give me feedback

    List to HTML Generator 0 reactions

    This is a simple class that converts a list into an html table. It accepts an array of strings as the table header, a map of strings that holds information such as css classes, id etc. As it is, the code runs and does what it is supposed to do. However, I am submitting this code in order to learn

    Adewale Afolabi about 3 months ago

Add your own code

Want to improve your code? Or maybe just get some feedback from other developers?

Add your own code

Latest Users