bad reply-to, sorry for the double answer, Waldemar
---------- Forwarded message ----------
From: Damien Pollet <[EMAIL PROTECTED]>
Date: 22 Nov 2007 20:45
Subject: Re: [fonc] productivity
To: Waldemar Kornewald <[EMAIL PROTECTED]>
On 22/11/2007, Waldemar Kornewald <[EMAIL PROTECTED]> wrote:
> On Nov 22, 2007 6:44 PM, Jason Johnson <[EMAIL PROTECTED]> wrote:
> > > It's ironic that as scientists we learn complexity, but no simplicity.
> >
> > Interesting. Above you want precedence rules so that math operators
> > work as you expect, but then you complain about complexity. Lisp is
> > the simplest language there is (though Common lisp has some fairly
> > complicated libraries) and Smalltalk is right behind it (with simpler
> > yet powerful libraries).
>
> Actually, those precedence rules make formulas easier to read.
The absence of precedence between operators is a small price to pay,
because you gain minimality, consistency, and semantics at the right
level: messages sent to objects, not some domain-specific
"mathematical" operation.
BTW, compare $\sin^{2}$ and $\sin^{-1}$… standard notation, heh :-)
Anyway in [CL]OLA, ometa makes it possible to redefine syntax, so you
could perfectly have (usual-maths 2+3*4) or
(some-algebra-with-unusual-precedence-and-associativity ...)
--
Damien Pollet
--
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc