Duplication today's 7.7 incident.

Source: Internet
Author: User

Duplication has been recognized for more than 30 years as the bane of the programmer's lot. How does duplication cause problems?

  • There is more code to maintain (a conceptual and physical burden ).
  • Parts that vary are buried inside the parts that stay the same (a perceptual problem-it's hard to see the important stuff ).
  • Code variations often hide deeper similarities-it will be hard to see the deeper solution among all the similar code.
  • There's a tendency to fix a bug in one place and leave identical bugs elsewhere unfixed. when you see two variations of something, it's hard to know which variation is the right pattern or if there's a good reason for the variations.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.