News for hackers. Stuff that matters.
Re:The C Programming Language: 4.10 (HP Lovecraft version) by lmkg on Thursday December 17, 2009 @08:28PM (#1002356)
>Exercise 4-13. Write a function reverse(s) which reverses the string s by turning the mind inside out, converting madness into reality and opening the door to allow the Old Ones to creep forth once more from their sunken crypt beyond time.

Would this be easier to do in Perl?

Re:The C Programming Language: 4.10 (HP Lovecraft version) by duskwuff on Friday December 18, 2009 @01:44AM (#1002700)
Perl has a "reverse" function built in. (Which, I suppose, only goes to show what sorts of eldritch horrors must lurk within.)
Re:The C Programming Language: 4.10 (HP Lovecraft version) by CapitalistCartr on Thursday December 17, 2009 @08:39PM (#1002382)
"C" meets H P Lovecraft's "Shadow over Innsmouth"
Re:The C Programming Language: 4.10 (HP Lovecraft version) by Daemmerung on Thursday December 17, 2009 @09:05PM (#1002415)
... The tense extremes of horror are lessening, and I feel queerly drawn to recursive expressions instead of fearing them. I read and code strange things in sleep, and awake with a kind of exultation instead of terror. I do not believe I need to read all of SICP. If I did, my father would probably shut me up in a C++ shop as my poor little cousin is shut up. Stupendous and unheard-of splendors await me below, and I shall seek them soon. Defun progn r'assoc-if rplaca a ia! Defsetf! No, I shall not manage my own callstack-- I cannot be made to manage my own callstack!

I shall plan my cousin's escape from that Murray Hill mad-house, and together we shall go to marvel-shadowed Cambridge. We shall take the T out to that brooding lab near the Charles and dive down through black abysses to Cyclopean and many-threaded CSAIL, and in that lair of the Bearded Ones we shall dwell amidst wonder and glory for ever.

Re:The C Programming Language: 4.10 (HP Lovecraft version) by alnayyir on Friday December 18, 2009 @12:12AM (#1002582)
>father would probably shut me up in a C++ shop

Seriously what is it with people and picking on C++?

Re:The C Programming Language: 4.10 (HP Lovecraft version) by Tuna-Fish on Friday December 18, 2009 @03:26AM (#1002796)
We've used it. For serious projects. That still exist, regularly demanding sacrifice of our sanity in the form of upkeep.

Seriously it's a braindead language that got to where it is by an accident of history. Which really sucks, because of how entrenched it is, we have to use it every now and then.

Re:The C Programming Language: 4.10 (HP Lovecraft version) by alnayyir on Wednesday December 23, 2009 @09:27PM (#1013268)
Sometimes you just need memory management and some powerful abstractions with which to blow yourself up.
Re:The C Programming Language: 4.10 (HP Lovecraft version) by gaius on Friday December 18, 2009 @06:13AM (#1002944)
I often use C++ and CTHULU FTAGN! IA IA!
Re:The C Programming Language: 4.10 (HP Lovecraft version) by j_baker on Friday December 18, 2009 @08:32AM (#1003074)
Not one use of the word "eldritch"! I smell a fake.