Re: OT: functional languages (was: Politics of Java)
- To: debian-user@lists.debian.org
- Cc: Derrick <dman@dman.ddts.net>
- Subject: Re: OT: functional languages (was: Politics of Java)
- From: Robert.Land@t-online.de (Robert Land)
- Date: Mon, 20 Jan 2003 14:42:39 +0100
- Message-id: <[🔎] 20030120144239.A7287@MINI.system-ORION.DE>
- Mail-followup-to: debian-user@lists.debian.org, Derrick <dman@dman.ddts.net>
- In-reply-to: <20021213162343.GB9228@dman.ddts.net>; from dman@dman.ddts.net on Fri, Dec 13, 2002 at 11:23:43AM -0500
- References: <3DDC69E9.3000301@acu.edu> <200211202204.30506.shalehperry@attbi.com> <20021121172558.GA8646@dman.ddts.net> <3DDD1B03.4030502@acu.edu> <y68n0o2f9na.fsf@multics.mit.edu> <20021213050106.GB798@dog.mackinney.net> <20021213132913.GC30356@fishbowl.madduck.net> <20021213134341.GA9949@merlin.sccs.swarthmore.edu> <20021213141742.GA9769@fishbowl.madduck.net> <20021213162343.GB9228@dman.ddts.net>
On Fri, Dec 13, 2002 at 11:23:43AM -0500, Derrick 'dman' Hudson wrote:
> On Fri, Dec 13, 2002 at 03:17:42PM +0100, martin f krafft wrote:
> | also sprach Nori Heikkinen <nori@sccs.swarthmore.edu> [2002.12.13.1443 +0100]:
> | > what do you mean by "functional"? even though i have quite limited
> | > experience with it, i've certainly seen plugins for the GIMP and
> | > things written in it. Or maybe that was scheme.
> |
> | while C is an imperative language, Erlang is a functional or
> | procedural language. (correct me if i am wrong, folks).
>
> "imperative" and "procedural" are the same thing, and C is a prime
> example. It is such because the structure of a C program is a
> collection of procedures which start with "main". Each procedure is a
> linear list of statements to be executed in order.
Could you specify a "linear list" more clearly? - the
contrary would be a "nonlinear list" which on the first
view seems to be self-contradictory.
Robert
>
> | it has no loops, assignments, variables or whatever.
> |
> | Since Lisp is very similar, I was wondering if it's also "functional"...
>
> Lisp is "functional". The functional paradigm is based entirely on
> functions. A function receives some input values (arguments) and
> returns some value. It is based heavily on discrete mathmatics and
> recursion.
>
> The other two categories of programming languages are OO
> (object-oriented) and Logic. Python, C++ and Java are OO languages.
> Prolog is a logic based language.
>
> -D
>
> --
> Commit to the Lord whatever you do,
> and your plans will succeed.
> Proverbs 16:3
>
> http://dman.ddts.net/~dman/
Reply to: