A foundational tool for developers that includes reusable pieces of code to perform common tasks, allowing for customization & new feature integration.
A collection of prewritten code for specific functionalities, simplifying the development process and requiring fewer dependencies, such as jQuery & NumPy.
- Library can control the flow of the application and call the library. - When using a framework, the control is inverted, i.e., framework controls the flow & calls your code.
- Libraries contain pre-written code, helper modules, objects, classes, functions, etc. - Frameworks consist of a lot of APIs, compilers, toolsets, support programs, libraries, etc.