Regardless of what kind of developer you are, we should all strive to write the best, cleanest code possible.
The challenge lies in that experience only teaches so much. At some point in your career, you’re going to be capable in handling most tasks and writing code that actually works.
But if you’re concerned about the elegance of the code, if there’s a better way to do it, or looking for simple tips on improving it, there are two great websites available for this.
1. Refactor My Code
Refactor My Code has been around for several years and is well-established within the culture.
The community supports almost every language available. Questions are ranked via popularity and what the community considers the best. You can browse the most recent refactorings by time and date or language.
2. Code Review on Stack Exchange
The Code Review Stack Exchange is clearly the newest entry into the field but it’s built on the popular Stack Overflow engine.
As such, the premise for the site is the same: post a question, receive answers, vote them up or down, and accept the best and it works great.
The community is active and growing.
Of course, you’ve gotta get over putting your code out for the world to judge. But if you’re working on the web, you’re code has been accessible since the beginning :).
Speak your mind...