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

    Login/logout error php 0 reactions

    Trying to implement a login logout issue but running into problems with starting and ending the session. From my root index.php file, i have a login button, checks the db against a row name and password verification, but on my welcome screen getting white screen of death.

    caleb king about 35 days ago

  • Make this code better

    Help Me Out? :) 0 reactions

    Creating an input and output and importing a txt file.

    Henok Gaim about 38 days ago

  • 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 2 months 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 2 months 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 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