next up previous contents
Next: What Kind of Up: Introduction Previous: Introduction

Declarative vs Procedural Programming

Procedural programming requires that the programmer tell the computer what to do. That is, how to get the output for the range of required inputs. The programmer must know an appropriate algorithm.

Declarative programming requires a more descriptive style. The programmer must know what relationships hold between various entities.

Puregif Prolog allows a program to be read either declaratively or procedurally. This dual semantics is attractive.

Paul Brna
Mon May 24 20:14:48 BST 1999