Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-17 Thread Bryon Daly
On Thu, Dec 17, 2009 at 5:32 AM, Alberto Monteiro wrote: > > > The code is wrong: > > void Cthulhu > (int Ia) { > if (Ia/10) > Cthulhu (IA/10); > putchar // ftagn! >(Ia % 10 + '0'); > } // neblod zin! > > // is a comment in C++ and, by the arcane magic known

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-17 Thread Warren Ockrassa
On Dec 17, 2009, at 5:36 AM, Max Battcher wrote: > Beyond that, it doesn't seem like proper Kernigan and Ritchie code because it > is not formatted properly in the K&R style... It almost looks more like GNU > code. Well, the sign did declare that the place was called GCC... -- Warren Ockrassa

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-17 Thread Max Battcher
Alberto Monteiro wrote: Warren Ockrassa wrote: I really enjoyed this, but can't share it with my colleagues, since they wouldn't get either reference. Sometimes it's really a pain in the ass to be a programmer and English major working in a PR department as the graphics guy. http://www.bobh

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-17 Thread Alberto Monteiro
David Hobby wrote: > > That is nice. I'm sure I can find some people > who'll appreciate both references, and not just > say that the followers of Cthuhlu should use > different variable names for clarity. > Maybe we should parody the wikibook on C programming http://en.wikibooks.org/wiki/C_p

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-17 Thread Alberto Monteiro
Warren Ockrassa wrote: > > I really enjoyed this, but can't share it with my colleagues, since > they wouldn't get either reference. > > Sometimes it's really a pain in the ass to be a programmer and > English major working in a PR department as the graphics guy. > > http://www.bobhobbs.com/fi

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-16 Thread David Hobby
Warren Ockrassa wrote: I really enjoyed this, but can't share it with my colleagues, since they wouldn't get either reference. Sometimes it's really a pain in the ass to be a programmer and English major working in a PR department as the graphics guy. http://www.bobhobbs.com/files/kr_lovecraf

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-16 Thread Warren Ockrassa
On Dec 16, 2009, at 9:01 PM, Bryon Daly wrote: > On Wed, Dec 16, 2009 at 10:29 PM, Warren Ockrassa > wrote: > I really enjoyed this, but can't share it with my colleagues, since they > wouldn't get either reference. > > Sometimes it's really a pain in the ass to be a programmer and English maj

Re: Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-16 Thread Bryon Daly
On Wed, Dec 16, 2009 at 10:29 PM, Warren Ockrassa wrote: > I really enjoyed this, but can't share it with my colleagues, since they > wouldn't get either reference. > > Sometimes it's really a pain in the ass to be a programmer and English > major working in a PR department as the graphics guy. >

Recursion in C, as told by Kernigan, Ritchie, and Lovecraft

2009-12-16 Thread Warren Ockrassa
I really enjoyed this, but can't share it with my colleagues, since they wouldn't get either reference. Sometimes it's really a pain in the ass to be a programmer and English major working in a PR department as the graphics guy. http://www.bobhobbs.com/files/kr_lovecraft.html -- Warren Ockrass