C.Don`t Repeat yourself (DRY)
Summary
Never write even single line of duplicate code , make them a shared code
If you have just two lines of code that is doing almost same job , prefer to refactor them as separate shared function.
Applicability
Throughout the development cycle, particularly during implementation and coding.
References