Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

DRY Principle

Wandering Walrus answered on March 1, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • react cdn link
  • dry code meaning

  • DRY Principle

    0
    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: dry whatever
    Link to this answer
    Share Copy Link
    Contributed on Dec 15 2024
    Wandering Walrus
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    3

    DRY is stands for “Don’t Repeat Yourself”. In the book of ‘The Pragmatic Programmer’, we can see this definition for DRY:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. This means that, you must try to maintain the behavior of a functionality of the system in a single piece of code, it should not have duplicated code or design item.

    Since we are looking these principles for system design, we will follow same concepts with software development. It’s easier to maintain a code or system that is only in one place, because if you need to change something in the code or system, you just need to change in one place.

    Besides that, if you have the same code in two or more places, the code can be change during the time, and when this happens it will become bugs in your system. Duplicated code also makes the code more complex and unnecessarily larger.

    https://medium.com/design-microservices-architecture-with-patterns/software-architecture-design-principles-kiss-yagni-dry-341ce969212c

    Popularity 10/10 Helpfulness 4/10 Language whatever
    Source: Grepper
    Tags: dry
    Link to this answer
    Share Copy Link
    Contributed on Mar 01 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10

    0
    Popularity 1/10 Helpfulness 1/10 Language whatever
    Link to this answer
    Share Copy Link
    Contributed on Dec 13 2024
    Talented Tiger
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.