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 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.
Latest Code Entries
-
Give me feedback
Return Service Layer 0 reactions
I have a Service called 'MessageService' with a create method that's receives my form parameters , creates ( also persist in database ) and return my Message domain object . But I have a rule that's say: "If the message has more than 200 chars you should save and show a warning to the user." Well
Arthur Cláudio de Almeida Pereira about 2 months ago
-
I dare you to improve this
-
I dare you to improve this
-
Coding Horror, be scared
Proper variable naming 1 reactions
This code won't let anyone who wishes to modify it at a later moment. Make your variable names complete, even if they are long, don't be lazy!
Jeff Noel about 5 months ago
-
Give me feedback
Add your own code
Want to improve your code? Or maybe just get some feedback from other developers?
Add your own code