Learn in the textbookLibraries, APIs, and Low-Code Development
DefinitionA library (ライブラリ) bundles frequently used processing into components such as functions so that other programs can call and reuse them.
ExplanationTasks like formatting strings or calculating dates do not have to be written from scratch each time, because you can call a ready-made component instead. Components that many developers have already used cut development effort and help keep quality consistent. What defines how to call a library's components is the API, covered next.
AnalogyIt is like using store-bought stock powder instead of making soup stock from scratch every time you cook.
Memory hookIn English, a library is a collection of books. You borrow the processing you need, just as you borrow a book.