• atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 hours ago

    “The one that makes sense”

    Patterns and principles are guidelines, not rules. You don’t want to just apply them blindly.

    You need to balance principles. Over-applying the DRY principle can lead to more complex logic that’s harder to understand than if you just wrote code in-line.