[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Tla spork
From: |
Andrew Suffield |
Subject: |
Re: [Gnu-arch-users] Re: Tla spork |
Date: |
Fri, 27 Aug 2004 19:26:33 +0100 |
User-agent: |
Mutt/1.5.6+20040803i |
On Fri, Aug 27, 2004 at 07:46:07PM +0200, Robin Farine wrote:
> In C for instance, making use of precedence rules to spare a few
> ( and ) is a good way to force the next developer to stare for a
> few minutes at an expression before he finally decides to add the
> spared ( and ) for safety.
This is the case where the expression has been written in a stupid way
anyway. Languages should focus on improving things in the non-stupid
case.
> > I will also say, though, Andrew Suffields alternative Fibbonacci
> > sequence using Haskell looks rather clean.
>
> Yes, but it looks clean mainly because of the semantics of the
> guards (not unlike how forward inference engines like OPS-5 work by
> the way), not really thanks to its syntax.
Rather, it's because of a sequence of small, simple, incremental
syntax rules that gradually eliminate useless noise. I didn't cover
*all* the rules Haskell has for this, but I did cover a few of the
more interesting ones.
> The nice property of the syntax of Lisp dialects is that everything
> is either an atom, an empty list or a list of atoms. A program can
> manipulate a program as it manipulates data. I do not know if
> Haskell is able to this in such an elegant way, though.
Haskell doesn't accept the notion of 'data'. There is only
program. The implications should be obvious.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature
- Re: [Gnu-arch-users] Re: Tla spork, (continued)
- Re: [Gnu-arch-users] Re: Tla spork, Tobias C. Rittweiler, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, John Meinel, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Robin Farine, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Andrew Suffield, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, John Meinel, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Andrew Suffield, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Robin Farine, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork,
Andrew Suffield <=
- Re: [Gnu-arch-users] Re: Tla spork, Robin Farine, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Andrew Suffield, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Tobias C. Rittweiler, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Andrew Suffield, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, James Blackwell, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Zenaan Harkness, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Andrew Suffield, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Zenaan Harkness, 2004/08/27
- Re: [Gnu-arch-users] Re: Tla spork, Robert Collins, 2004/08/30
- [Gnu-arch-users] Re: Tla spork, Stefan Monnier, 2004/08/27