Python 1.6 The balanced language
Manuel Gutierrez Algaba
thor at localhost.localdomain
Mon Sep 4 17:41:17 EDT 2000
On 2 Sep 2000 23:43:44 +0200, Carel Fellinger <cfelling at iae.nl> wrote:
>Manuel Gutierrez Algaba <thor at localhost.localdomain> wrote:
>> I see functional as "flow", while OO as "matter". The duality
>> energy(flow)-matter rules in physical world and IT. Types could be
>> the size of quanta, which is the less interesting part of the story.
>
>> As long as a "language let the data flow" (without blocking in
>> a struct or object) the language behaves in a functional manner.
>> Types seems stupid attempts to give shape to a liquid, to a flow.
>> It's the same if the "pipe" is rounded or square, the liquid/flow
>> adapts to it, but you have bad times when joining different pipes.
>
>To me Types don't relate to the pipe, but to the content. And nasty
>things can happen if you just mingle all kind of liquids:) So to me
>types make sence, even in a functional language.
>
Ok, see this function:
def a(b,c):
e(b,c,4)
print b,c
What does this ? It merely takes "fluid" b and c,
it directs it to the pipe "e" and applies the print statement on both.
So, what is "a" ? It's a fork of flows . It's just a "pattern" or
"scheme" of "flow" redirections !
So types go against "functional".
---
MGA
More information about the Python-list
mailing list