It provides support for encapsulation and data hiding, separation of concerns and enhanced code reuse.
Ad hoc code reuse has been practiced from the earliest days of programming.
The software library is a good example of code reuse.
A very common example of code reuse is the technique of using a software library.
Also, code reuse is a big plus and can be accomplished more easily through the use of object-oriented programming.
In most quarters, class inheritance for the sole purpose of code reuse has fallen out of favor.
This is why code reuse is so hard.
Good coding style is generally associated with code reuse.
A macro is used to define variables/procedures, to allow code reuse or to design domain-specific languages.
A component can be a part of multiple projects and streams, allowing for code reuse.