Re: OOP vs imperative, was Hello v1.0.3 distributed programming language available (alpha)

"Nils M Holm" <nmh@t3x.org>
Sat, 20 Sep 2014 02:19:48 -0400 (EDT)

          From comp.compilers

Related articles
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua kaz@kylheku.com (Kaz Kylheku) (2014-09-10)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua martin@gkc.org.uk (Martin Ward) (2014-09-10)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua anton@mips.complang.tuwien.ac.at (2014-09-10)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua nmh@t3x.org (Nils M Holm) (2014-09-10)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua martin@gkc.org.uk (Martin Ward) (2014-09-11)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua anton@mips.complang.tuwien.ac.at (2014-09-15)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua nmh@t3x.org (Nils M Holm) (2014-09-20)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua anton@mips.complang.tuwien.ac.at (2014-09-21)
Re: OOP vs imperative, was Hello v1.0.3 distributed programming langua kaz@kylheku.com (Kaz Kylheku) (2014-09-21)
| List of all articles for this month |
From: "Nils M Holm" <nmh@t3x.org>
Newsgroups: comp.compilers
Date: Sat, 20 Sep 2014 02:19:48 -0400 (EDT)
Organization: Compilers Central
Keywords: OOP, design, history, comment
Posted-Date: 20 Sep 2014 02:19:48 EDT

Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
> Martin Ward <martin@gkc.org.uk> writes:
> > But Smalltalk, for which development started in 1969, was a very early
> > functional object-oriented language.
>
> Smalltalk is an imperative language; e.g., it contains assignment and
> its objects contain changeable state. What makes you think that
> Smalltalk is functional?


While I would agree that Smalltalk is not intended to be a functional
language, I think the argument of assignment and mutable state is not
valid.


In "The Definition of Standard ML", Milner, et al describe ML as a
functional language "in the sense that the full power of mathematical
functions is present". IMO, this property is sufficient to classify a
language as "functional". Even SML does have mutable state (references)
and assignment, BTW.


--
Nils M Holm < n m h @ t 3 x . o r g > www.t3x.org
[Does that make python functional? -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.