moist-principle
The MOIST principles provide a balanced approach to writing code that prioritizes clarity, maintainability, and readability. While the DRY principle focuses on minimizing repetition, MOIST acknowledges the practical need for some redundancy to achieve these goals.
Ensure that the code has purpose and context, even if it means some repetition to enhance clarity.
See README.md
Keep the code well-structured and easy to navigate, which might involve some necessary redundancy.
See README.md
Be deliberate with repetitions, understanding when they serve a functional or communicative purpose.
See README.md
Advocating for simplicity and clarity in code design and implementation.
See README.md
Make the code’s intentions clear, even if this means duplicating logic to make it more understandable.
See README.md