On Tue, 30 Jan 2007 08:24:40 +0100, Sven Neumann <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-01-30 at 09:11 +0200, Alexander Rabtchevich wrote:
> >  But the inability to use global 
> > variables along with scheme syntaxes leads to a good deal of parentheses 
> > which could be a problem to a programmer.
> 
> I don't see how this introduces the need for more parentheses.

Just to prove that point, a couple of weeks ago I fixed a bug in a
script that looked like this:

  (define (some-function ...)
    (begin
      (set! undeclared-var some-value)
      (... more code ...)
    ))

Fixing this problem was easy and made the code shorter:

  (define (some-function ...)
    (let ((declared-var some-value))
      (... more code ...)
    ))

-Raphaël
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to