View Single Post
  #15   Spotlight this post!  
Unread 29-05-2004, 11:03
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Found Really Cool Windows text Editor

Quote:
Originally Posted by mtrawls
... did you have to bad mouth Lisp? Once you get your eyes fixed after looking at a program or two, it ain't all that bad ... actually, it can be quite powerful. I especially like Scheme (a dialect of Common Lisp). Hrm ... how odd that I put that in parentheses, no?

Afterall, who can resist tail-end recursion and the ability to say cadr, caaddr, etc. as freely as one pleases?
Code:
   (define (factorial n)
     (define (iterate n acc)
       (if (<= n 1)
           acc
           (iterate (- n 1) (* acc n))))
     (iterate n 1))
English? or at least C?