From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: fyi, very interesting Ada paper OOP vs. Readability
Date: Fri, 11 May 2012 09:58:49 +0200
Date: 2012-05-11T09:58:49+02:00 [thread overview]
Message-ID: <18ct9oamzq1u1$.wh6hj9mlqxna$.dlg@40tude.net> (raw)
In-Reply-To: joifa0$e9f$1@speranza.aioe.org
On Fri, 11 May 2012 02:32:09 -0500, Nasser M. Abbasi wrote:
>> P.S. There is no data without types.
>
> I think the functional programmer guys will not be happy to
> hear this.
No less as I am unhappy with functional programming... (:-))
BTW, there is a pun in the name. Functional programming is non-functional
in its core as it strives to remove side-effects while the only purpose of
any computing is side-effects. (:-))
> For example, I use Mathematica, and in Mathematica, there is no
> data types. Only expressions. There are transformation
> rules to transform an expression from one form to another.
Yes, but as mathematicians have learned a century ago this approach does
not work. You cannot take an axiomatic set theory and the proceed like
1={}, 2={{}}, 3={{{}}}... coming to integer arithmetic, real numbers,
functional analysis (Hilbert's program). That does not work even
theoretically in much more powerful models than pitiful FSA, our computers
are.
A type gives you an opportunity to jump over all constructivist's
nightmares. You just define a type Employee and do not care to play God
creating real employees. That is the power of abstraction. Yes, there is a
price to pay. You have to define operations on Employee, you cannot get
them as theorems in the process of construction. This is what typing is all
about.
> But I think in the world of OO and procedural programming, what
> you are saying makes sense. One defines a type, then declares
> a variable of that type. i.e. data (i.e. variables) always has
> a type. But I do not think this is the case for all programming
> languages?
This is THE case for whole mathematics since Bertrand Russell's time.
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
next prev parent reply other threads:[~2012-05-11 7:59 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 13:06 fyi, very interesting Ada paper OOP vs. Readability Nasser M. Abbasi
2012-05-09 13:19 ` Nasser M. Abbasi
2012-05-09 13:36 ` Dmitry A. Kazakov
2012-05-09 13:39 ` Patrick
2012-05-09 13:55 ` Egil Høvik
2012-05-10 2:33 ` Randy Brukardt
2012-05-10 6:33 ` Simon Wright
2012-05-12 0:37 ` Randy Brukardt
2012-05-30 2:09 ` BrianG
2012-05-30 7:29 ` Niklas Holsti
2012-05-30 7:54 ` Yannick Duchêne (Hibou57)
2012-05-30 7:59 ` Dmitry A. Kazakov
2012-05-30 12:45 ` stefan-lucks
2012-05-30 13:12 ` Dmitry A. Kazakov
2012-05-30 19:11 ` Jeffrey Carter
2012-05-30 23:00 ` BrianG
2012-06-21 16:06 ` Randy Brukardt
2012-05-10 8:43 ` Maciej Sobczak
2012-05-15 6:16 ` Simon Wright
2012-05-10 11:46 ` Dmitry A. Kazakov
2012-05-10 14:23 ` Georg Bauhaus
2012-05-10 14:47 ` Nasser M. Abbasi
2012-05-10 15:11 ` Adam Beneschan
2012-05-10 16:06 ` Georg Bauhaus
2012-05-10 18:41 ` Niklas Holsti
2012-05-11 8:20 ` Georg Bauhaus
2012-05-10 20:11 ` Nasser M. Abbasi
2012-05-10 21:17 ` tmoran
2012-05-10 18:07 ` Jeffrey Carter
2012-05-11 7:32 ` Maciej Sobczak
2012-05-10 12:31 ` J-P. Rosen
2012-05-10 13:32 ` Yannick Duchêne (Hibou57)
2012-05-10 13:38 ` Nasser M. Abbasi
2012-05-10 23:42 ` Zhu Qun-Ying
2012-05-11 6:05 ` J-P. Rosen
2012-05-11 3:01 ` NatarovVI
2012-05-11 7:14 ` Dmitry A. Kazakov
2012-05-11 7:32 ` Nasser M. Abbasi
2012-05-11 7:58 ` Dmitry A. Kazakov [this message]
2012-05-13 3:11 ` NatarovVI
2012-05-13 10:03 ` Georg Bauhaus
2012-05-16 15:00 ` NatarovVI
2012-05-16 18:01 ` Georg Bauhaus
2012-05-21 16:35 ` NatarovVI
2012-05-21 17:56 ` Georg Bauhaus
2012-05-23 16:01 ` NatarovVI
2012-05-23 16:12 ` NatarovVI
2012-05-16 15:31 ` NatarovVI
2012-05-16 16:40 ` Dmitry A. Kazakov
2012-05-21 17:23 ` NatarovVI
2012-05-21 18:53 ` Dmitry A. Kazakov
2012-05-21 19:21 ` Nasser M. Abbasi
2012-05-23 17:59 ` NatarovVI
2012-05-23 18:45 ` Dmitry A. Kazakov
2012-05-23 17:39 ` NatarovVI
2012-05-23 18:39 ` Dmitry A. Kazakov
2012-05-11 3:09 ` NatarovVI
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox