Reuse when developing software

Source: Internet
Author: User

When I first learned to object-oriented, I saw that the introduction would refer to the use of inheritance to reuse the property methods of the parent class. So it feels like it's time to make the code as reusable as possible, not just for the subclass of the parent class, but also to be useful in other projects.

I want to write my own reusable modules, functions on GitHub, so that the previous efforts to save the results, and then a treasure trove.

Suddenly think that the framework does not already provide a variety of methods? I should get to know these methods and then go to the application, which is also reusable AH! Use your own other people's call reuse!

The programming language does not already provide many functions, various class libraries? Hurry up and reuse!

At this time only to realize the idea of the silly, do not want to learn to master the function, to use when checking the good.

Functions are tools, bricks, cement, rebar ...

Reuse when developing software

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.