Libraries

A software library contains a collection of subprograms or functions that can be linked to and used in other programs. This makes it easier for programmers to make complex programs quickly.

Examples

  • Saving files
  • Mathematical functions (eg. random number, square root)

 

Benefits

Time – this saves time as the programmer does not have to write all this code.

Maintenance – the programs will be shorter so willbe easier to maintain (update or change over time)

Tested – this code is already tested and so will not require retesting

Updating – when a function or subprogram is updated, all linked programs will use the new update. This is much more efficient that updating each program individually.

 

Advertisement
%d bloggers like this: