Re: Declarative constraints in practical terms

From: Alfredo Novoa <alfredo_novoa_at_hotmail.com>
Date: 27 Feb 2006 05:25:55 -0800
Message-ID: <1141046755.829026.172630_at_v46g2000cwv.googlegroups.com>


x wrote:
> An imperative language is a language whose statements are commands.
> A procedural language is a language that allow procedures.
> A declarative language is a language whose statements are statements. :-)

Wrong.

See this:

imperative language
<language> Any programming language that specifies explicit manipulation of the state of the computer system, not to be confused with a procedural language, which specifies an explicit sequence of steps to perform.

An example of an imperative (but non-procedural) language is a data manipulation language for a relational database management system. This specifies changes to the database but does not necessarily require anyone to specify a sequence of steps.

http://foldoc.org/?imperative+language

Regards
  Alfredo Received on Mon Feb 27 2006 - 14:25:55 CET

Original text of this message