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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-0974-4_12
Publisher Name: Apress
Print ISBN: 978-1-4302-0973-7
Online ISBN: 978-1-4302-0974-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)