liveBook · Manning

Library

A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.

How 3 Manning books explain it

Clojure: The Essential Reference

A Clojure library is a source file whose name corresponds to the namespace declaration it contains and which follows conventions for storing and reusing Clojure code.

How it is used
Defines the file-backed unit for storing reusable Clojure code and loading it with `require`.
How deep it goes
Defines file and namespace conventions, then distinguishes library loading from namespace creation and direct file evaluation.
Examples
Uses `clojure.set` loading, a failed `require` of a fileless namespace, and warnings from referring all symbols.
What you can do after
Operate/configure it: load file-backed namespaces with `require`, inspect `loaded-libs`, and choose aliases over broad symbol imports.

Read how Clojure: The Essential Reference explains library →

Idiomatic Rust

A library is a packaged collection of reusable software components that other programs can depend on and call.

How it is used
Designs reusable Rust APIs for open-source projects, SDKs, and internal software.
How deep it goes
Explains API tradeoffs and demonstrates Cargo setup, integration testing, visibility, documentation, and maintenance practices.
Examples
Uses a linked-list crate, external integration test, public iterator types, and compiler errors about private items.
What you can do after
Build and maintain focused Rust libraries with usable APIs, external tests, correctness checks, and compatibility-conscious releases.

Read how Idiomatic Rust explains library →

Crack Any Codebase with AI

A software library is reusable code packaged for incorporation into another program.

How it is used
Frames a repository as an imported product whose public API and README reveal its developer customer and competitive purpose.
How deep it goes
Defines delivery, customer, intent, and schema, but stops short of implementation internals or API design procedures.
Examples
Uses date libraries, timezone mathematics, npm, PyPI, React, Flask, and Webpack as concrete library references.
What you can do after
Evaluate a library by identifying its importer, incumbent alternative, public API, README pitch, and stable core types.

Read how Crack Any Codebase with AI explains library →

Also covered in

What to know first

Related concepts

Questions about library

What is library?

A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.

Which Manning books explain library?

Clojure: The Essential Reference, Idiomatic Rust and Crack Any Codebase with AI.

What should I know before learning library?

Manning books that teach library usually introduce Python, function, JavaScript and web application first.

What kinds of library are there?

Kinds of library include framework, PyPDF2, React, Entity Framework Core and Metaflow.

What is library part of?

Library is part of lib directory. The lib directory is the ActiveMQ installation directory containing libraries needed by ActiveMQ.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.