what is clean code
author & internet detective
posted 8 years ago
It seems like the definition of "clean code" changes over time. Code written 10 years ago is likely to be longer and have more in a method. At the time it would be considered "clean." In the same way, I wince when I see what I wrote 5 years ago. I'm curious what other examples people have of this scenario.
posted 7 years ago
Well, I think that the basis of clean code is that your code should be readable & maintainable by others with ease. Five years ago we didn't have a lot of what we had today, and hence a lot of code was written that could now be summarized to just one tenth of its size using pre-written reusable libraries. Also a lot of methodologies did not exist (or at least were not widely known) back then.