Back to list
Lv.1

Library

Library

A collection of pre-built, reusable components that bundles commonly used functions needed when writing programs.

In Simple Terms

A library is a collection of functions that can be shared across different programs. For example, instead of building features like displaying charts on screen or performing complex calculations from scratch, you can simply call them from a library. This reduces the amount of code you need to write and eliminates the need to rewrite the same logic over and over. A wide variety of libraries created by developers around the world are freely available online.

Behind the Name

The word 'library' draws on the same idea as a public library — a place where books are organized and stored so you can borrow them whenever you need. In programming, that concept carries right over: commonly used functions are packaged together in one organized place, ready to be called on at any time.

Take a Closer Look!

A library is a collection of program components that bundles specific functionality so it can be reused across different programs.
Instead of writing all your code from scratch, simply loading a library lets you execute complex operations with ease.

This cuts down on development effort and dramatically improves programming efficiency.

For example, when building image editing software, features like color adjustment and resizing are common across many applications.
By packaging these shared functions as a library, they can be reused when building other software as well.

The key advantage of using a library is that you never have to rewrite the same logic from scratch every time.

To put it simply, a library is like a pre-packaged curry pouch.
Making curry by blending individual spices from scratch takes considerable effort, but a pre-packaged pouch lets you skip all the complex steps and go straight to a ready-to-eat meal.

In programming, having commonly needed functions prepared in advance dramatically speeds up development.

Libraries come in many varieties — some focus purely on math and calculations, while others handle screen layout and design.
Combining them effectively boosts development efficiency and makes it possible to build feature-rich software.

A wealth of free libraries are also available online for anyone to use.

CategoryProgramming