[prev] [index] [next]

Libraries/Classes

Library/class = set of related functions on a given data type

A library/class presents these functions/types to users via:

  • documentation   (e.g. Unix manual entries   or   Javadoc)
  • imported definitions   (e.g. mylib.h   or   xyz.class)
  • executable code   (e.g. mylib.c, mylib.o   or   xyz.class)
But before we can do any of these, we need to decide on the interface