What Is A Library?

PHP Developer Freelance | E-learning Platform external link
🔗 See other jobs


A library is pre-packaged code meant to solve a specific software problem.

Use Cases and Examples

Reoccurring tasks in software development are usually packaged into libraries so other developers can use them in their projects or within the same team.

Libraries are mostly configurable to allow more room for changes that best suits the developer's need. Jquery is an example of a library that used to be popular when it came to manipulating DOM elements.


The name library and framework are sometimes used interchangeably, with the latter usually reserved for larger reusable components or source code. Some developers and teams open source their libraries to get support from other developers who find them useful.

Here is another article you might like 😊 "What Is A Loop?"