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 FixThatCode.com 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

    Calclator using switch statement for various operations 0 reactions

    I designed and devised this calculator on my own, from scratch. My idea is to let the user choose the operation they want to perform on the two numbers they will input, and the computer will then output the statement corresptonding to each case. The code compiles and everything, but when I try t

    Lorenzo Battilocchi about 14 days ago

  • Make this code better

    What is wrong with my function to stop the compiler from running this program? 0 reactions

    I am creating a program in C to ask the user for a date, and if its valid it prints it if its invalid it just prints its invalid. I keep getting compiler warnings and errors but I'm not sure on how to solve them

    Christopher Timbol about 17 days ago

  • Make this code better

    What is wrong with my function to stop the compiler from running this program? 0 reactions

    #include <stdio.h> #include <stdlib.h> #include <string.h> //Declares function void getInput(char*userInput1, char *userInput2, char *userInput3); int main(void) { char userInput[100]; printf("Enter a date in this format : MM/DD/YY:"); //Captures users input scanf("%s", &userInput

    Christopher Timbol about 17 days ago

  • Coding Horror, be scared

    SOS Nothing is working 3 reactions

    I am creating a Harry Potter platform game where the aim is to collect a horcrux at each level. There are enemies which can be jumped on to kill and potions on some levels which add a life. My hero is not moving properly and the keys (horcruxes) and potions are not being collected. PLEASE help, I am

    Sally Tuin about 19 days ago

  • Make this code better

    A simple game in c++ 0 reactions

    I'm using code::blocks. My code uses too many nested loops, and I don't know how to improve it.

    Grace about 2 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