Question:

What is a library?

Software developers don’t create everything from scratch every time they make an application. They reuse code that other people already wrote. Especially, to do common things.

A collection of reusable code is called a library.

Examples of libraries:

  • underscore is JavaScript library with general utility functions.
  • redcarpet is a Ruby library for Markdown, used by this site.
  • lombok is a Java library to reduce boilerplate with annotations.

You might also like