Well, I'm 20, officially, as of about 1 hour and 8 minutes ago. I am no longer a teenager. I've nearly finished my degree. I have no more excuses.
Time to actually write a goddamned game.
Jul 1 2009, 6:53 am
|
|
*tempts Jp with sky-diving or something more entertaining than developing his game*
|
Lisp or a dialect thereof (Scheme, maybe)? We don't take to kindly to your type around here.
|
Popisfizzy wrote:
Lisp or a dialect thereof (Scheme, maybe)? We don't take to kindly to your type around here. He's not quote prefixing age to be a symbol, so I assume it's Scheme and not Lisp. |
Scheme looks like some kind of bastardised language from hell...
Anyway, Happy Birthday! I thought you were older than I am, score. I'd buy you a beer, but South Australia is icky. ;) |
That's alright, Tib, I don't drink. :P
Scheme is a functional language - it's based on lambda calculus. So It's a little strange for someone who grew up with BASIC and DM and C, but interesting. There isn't really iteration, as such - you do it via recursion: (define factorial n (define fact_r m r (if (< n 2) r (fact_r (- m 1) (* r m)) ) ) (fact_r n 1) ) (That might not be actual valid Scheme - it's been a while since I've actually written code in it and compiled it, etc. etc. But the basic algorithm is correct) |