Skip to main content

Declarative Programming

  • Chapter
Practical API Design
  • 1317 Accesses

Abstract

An interesting way to minimize the problems that arise with runtime aspects of an API is to eliminate the runtime completely. For lack of a better name, let’s call this declarative programming, though the term is overloaded with various meanings and it might mean different things to different people. With declarative programming, the basic idea is that users of your API don’t describe step-by-step what they want your API to do. Rather, they ”declare” what they want to have happen and then rely on your API to do it when necessary.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 79.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Jaroslav Tulach

About this chapter

Cite this chapter

(2008). Declarative Programming. In: Practical API Design. Apress. https://doi.org/10.1007/978-1-4302-0974-4_12

Download citation

Publish with us

Policies and ethics