• 38 Posts
  • 184 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle




















  • Well it’s in the name, they are code smells, not hard rules.

    Regarding the specific example you cited, I think that with practice it becomes gradually more natural to write reusable functions and methods on the first iteration, removing the need for later DRY-related refactorings.

    PS : I love how your quote for the Rule of Three is getting syntax highlighted xD (You can use markdown quotes by starting quoted lines with > )





















OSZAR »