DRY: Difference between revisions
Jump to navigation
Jump to search
m (Ovidiu moved page Don't Repeat Yourself to DRY without leaving a redirect) |
|||
Line 6: | Line 6: | ||
''Don't Repeat Yourself'' - DRY: If you are in the position to write the second time the same behavior (copy-and-paste) that means the behavior belongs into a reusable function. | ''Don't Repeat Yourself'' - DRY: If you are in the position to write the second time the same behavior (copy-and-paste) that means the behavior belongs into a reusable function. | ||
=DRY and Coupling= | |||
{{Internal|Coupling#DRY_and_Coupling|Coupling | DRY and Coupling}} |
Revision as of 20:09, 24 December 2020
Internal
Overview
Don't Repeat Yourself - DRY: If you are in the position to write the second time the same behavior (copy-and-paste) that means the behavior belongs into a reusable function.