From: Yossef Mendelssohn Date: 2009-04-15T01:13:10+09:00 Subject: Re: Argument types Yay! Pascal's back! And just when I was suffering from parenthesis withdrawal. On Apr 14, 11:00 am, p...@informatimago.com (Pascal J. Bourguignon) wrote: > (class Array >   (def at(index) >      (if (> 0 index) Woah, what? >         (index = (@size - index)) >       end) >      (if (> 0 index) >          nil >       elsif (<= @size index) >          nil >       else >          (Memory.load (self . addressOf index)) You missed out on an opportunity for addresOf(index) there. Just thought you should know. >       end) >    end) > > end) > > Basically, the index should behave as an integer, but in this > pseudo-implementation Pseudo- is right. I'm not sure what language this is. It has some sort of Ruby feeling, but there are far too many parentheses. Also, some comparisons are done in a totally whacked-out fashion involving insane ordering. I'm willing to bet the person who wrote this code doesn't actually know or care about Ruby, but is really some delusional Lisp lover who harbors a deep resentment towards all languages that are not "pure enough". Am I right? -- -yossef