Content deleted Content added
No edit summary |
No edit summary |
||
Line 17:
==Procedural vs. Declarative==
The concept of procedural languages is used to contrast with declarative languages. Some languages have features of both, such as LISP or other functional languages (which are not primarily declarative as the declarative language article states). The difference is procedural describes "what"
OO being a subclass of procedural is a tough call. It is certainly more procedural then declarative, but OO describes a different set of ideas than procedural or declarative. (abstraction, inheritance...etc..) It seems possible that there could be an OO logic-based language, so I would say OO is not only procedural.
Also, the openning statement including functions should not be confused with mathematical function seems wrong. They should be confused / thought of as nearly the same. I am sure there is article on here further detailing this: given input a function produces a single output. -has
|