D.4.13 Explain the advantages of using library collections.
Library Definition
"In computer science, a library is a collection of non-volatile resources used by computer programs, often to develop software. These may include pre-written code and subroutines, classes, values or type specifications."
The value of a library lies in the reuse of the behavior. When a program invokes a library, it gains the behavior implemented inside that library without having to implement that behavior itself. Libraries encourage the sharing of code in a modular fashion, and ease the distribution of the code.
Advantages Use of Libraries
use of library provides convenient and reliable implementations of common programming tasks.
it supports code reuse, thus increases code writing efficiency
(Programmers can select an appropriate object class from the library and not have to design, implement and test it)
Encourages code sharing in modular fashion, and ease the distribution of the code
REFERENCES:
1. "Library (computing)." Wikipedia. Wikimedia Foundation, 28 Feb. 2017. Web. 05 Mar. 2017.