APIs, libraries, and code

Diomidis Spinellis*

*Corresponding author for this work

Research output: Contribution to journalShort survey

1 Citation (Scopus)

Abstract

Diomidis Spinellis, a professor in the Department of Management Science and Technology at the Athens University of Economics and Business, suggests some points to consider while using APIs, libraries and writing own code. If some alternatives come as external libraries, one should start by looking at the licensing terms. Many offerings might be available as open source software, so integrating GPL-licensed code with a product distributed without its source code will get them into trouble. Libraries should be configured with sensible defaults that allow them to work faultlessly under all conditions. If the system is multithreaded, users must examine whether the library is compatible with such a setting. Error handling is another area of disagreements. A function can signal an error by returning a negative value, a false value, or by triggering an exception. The user needs to balance the functionality the library provides against its dependencies.

Original languageEnglish
Article number6336728
Pages (from-to)85-86
Number of pages2
JournalIEEE Software
Volume29
Issue number6
DOIs
Publication statusPublished - 2012
Externally publishedYes

Keywords

  • API
  • application platform
  • dependencies
  • library
  • reuse

Fingerprint

Dive into the research topics of 'APIs, libraries, and code'. Together they form a unique fingerprint.

Cite this