3 ms·
This is a phenomenal introduction to refactoring to clean code. A lot of young developers with whom I interact tend to not understand the importance of cleanly
by david_shaw 16y ago
This is a phenomenal introduction to refactoring to clean code. A lot of young developers with whom I interact tend to not understand the importance of cleanly refactored code.
The hacker mentality, furthered perhaps by the prevalence of scripting languages, allows people to think sometimes that "if it passes the test, it's good for production!"
This is how amateur software projects die. I've seen it dozens of times: a young, ambitious programmer starts promising project, creates a sort of mock-up that runs (badly), and then tries to continue adding features and improving upon the already-decaying codebase.
Refactor your code. Make things clean. Even if you never plan on passing your passion project on to another developer, it's important to understand that without clean code even you will be unable to understand and efficiently work with your codebase.
This is one of the better introductory tutorials I've ever read, and the hands-on example is excellent. Great read, and I've bookmarked it to refer people to later.