Changes for page Clean Code
Last modified by chrisby on 2024/05/20 08:54
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,7 @@ 1 -Clean code is a setof technicalpracticesforwriting code that isreadable, i.e., easy to understand,and maintainable, i.e.,cheap to change. Both of these aspects reduce the overallprogrammingeffortrequired for future work. Whenever possible, code should bekept both readable andmaintainable,whichis mostoften thecase, sincethe two usuallygohandin hand.1 +Clean code is the practice of writing code that is easy to understand and maintain. Every programmer should be familiar with the principles of clean code. 2 2 3 -However, when the two are in conflict, readability is often more important than maintainability, since code is read more often than it is written. The benefit of making code easier to read is simply greater than the benefit of making code easier to modify. For example, duplication is harder to maintain, but is often the lesser of two evils if it makes the code more readable, and there is no way to get both aspects right. 4 - 5 5 ### Topics 6 6 7 7 {{children/}} 6 + 7 +