Menu

Systems

Library

Plain English

Pre-built code you can reuse.

Definition

A library is a collection of pre-written code that can use to perform common tasks.

In practice

Used to speed up development by reusing existing functionality instead of building from scratch.

In context

Each one added is a maintenance commitment. The that saved a day now needs updating, auditing, and eventually replacing when it is abandoned.

The reality

Over-reliance on libraries can create unnecessary and bloat.

Compared with

Library vs Framework

A library solves one problem and leaves the to you. A provides the architecture. Libraries compose easily; frameworks generally do not compose with each other at all.

FAQ

Common questions

A few practical answers to the questions that usually come up around this term.

What is a library in programming?

It is a collection of reusable code.

Why are libraries useful?

They speed up development and reduce effort.

What is a risk of using libraries?

Too many can cause issues.

How do you choose a library?

Based on , support, and suitability.

Related Services

Related Guides

Related Terms

LET'S WORK TOGETHER

Ready to improve your product?

UX, research and product leadership for teams tackling complex digital services.

Previous feedback

I had a fantastic experience working with Andy. One of his most impressive achievements during our time at NHS HEE was masterminding a deeply complex information architecture for a new platform that brought together a large number of legacy websites.

Will Parkhouse

Senior Content Designer