|
| |
| | Imperative programming - Wikipedia, the free encyclopedia |
 | | In computer science, imperative programming, as opposed to declarative programming, is a programming paradigm that describes computation in terms of a program state and statements that change the program state. |  | | The hardware implementation of almost all computers is imperative; nearly all computer hardware is designed to execute machine code, which is native to the computer, written in the imperative style. |  | | Logical programming languages, like Prolog, are often thought of as defining "what" is to be computed, rather than "how" the computation is to take place, as an imperative programming language does. |
|
http://en.wikipedia.org/wiki/Imperative_programming
(846 words)
|
|
| |
| | Functional programming - definition of Functional programming in Encyclopedia |
 | | Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions. |  | | A much-improved functional programming language was LISP, developed by John McCarthy while at the Massachusetts Institute of Technology for the IBM 700/7000 series scientific computers in the late 1950s. |  | | For programs which spend most of their time doing numerical computations, some functional languages (such as OCaml and Clean) can approach C speed, while for programs that handle large matrices and multidimensional databases, array functional languages (such as J and K) are usually faster than most non-optimized C programs. |
|
http://encyclopedia.laborlawtalk.com/Functional_programming
(1698 words)
|
|
| |
| | The Imperative Programming Paradigm |
 | | The imperative programming paradigm is an abstraction of real computers which in turn are based on the Turing machine and the Von Neumann machine with its registers and store (memory). |  | | Most descriptions of imperative programming languages are tied to hardware and implementation considerations where a name is bound to an address, a variable to a storage cell, and a value to a bit pattern. |  | | Imperative programming languages with their emphasis on the sequential evaluation of commands often fail to provide a similar sequentiality to the evaluation of expressions. |
|
http://burks.brighton.ac.uk/burks/pcinfo/progdocs/plbook/imperati.htm
(5222 words)
|
|
| |
| | Computer Aids for VLSI Design |
 | | Imperative programs are the kind that most programmers know best: algorithms that execute sequentially from one statement to the next. |  | | In a graphic design system, imperative programming can be used to control layout sequences so that the designer is freed from repetitious tasks. |  | | In order to develop a complex program it is important to view that program hierarchically (so the lesson of VLSI design comes full circle and teaches about programming!). |
|
http://www.rulabinsky.com/cavd/text/chap08-2.html
(1751 words)
|
|
| |
| | LISP Tutorial Lecture 4: Imperative Programming |
 | | Imperative programming is made possible by the notion of program state. |  | | This style of programming, in which side effect is not only permissible but is also the primary means by which we program, is called imperative programming. |  | | This is not something new, but is in fact the very kind of programming habits that you have acquired since you learned your first programming language (e.g. |
|
http://www.cs.sfu.ca/CC/310/pwfong/Lisp/4/tutorial4.html
(1783 words)
|
|
| |
| | Wadler: Monads |
 | | The use of monads to structure functional programs is described. |  | | Keywords: programming languages / functional programming / category theory / monads / pure vs. impure functional languages / semantics / state / parsers. |  | | This paper shows how list comprehensions may be generalised to an arbitrary monad, and how the resulting programming feature can concisely express in a pure functional language some programs that manipulate state, handle exceptions, parse text, or invoke continuations. |
|
http://homepages.inf.ed.ac.uk/wadler/topics/monads.html
(746 words)
|
|
| |
| | MyXaml Wiki - Declarative Vs Imperative Programming |
 | | Even if they aren't correct, understanding the differences between declarative and imperative programming is an educational experience because it gives you a different way of looking at how you program. |  | | Most introductions to programming (and even accepted techniques, like using the Visual Studio designer) create programs that embed both declarative and imperative aspects in code. |  | | When taken to its logical conclusion, large programs end up with a lot of entanglement between the imperative parts and the declarative parts. |
|
http://www.myxaml.com/wiki/ow.asp?DeclarativeVsImperativeProgramming
(962 words)
|
|
|