If HP Lovecraft wrote C manuals

Discuss

11 Responses to “If HP Lovecraft wrote C manuals”

  1. Anonymous says:

    For Perl, please see my module, Acme::Phlegethoth, on the Comprehensive Perl Archive Network: http://search.cpan.org/dist/Acme-Phlegethoth/

  2. Anonymous says:

    But had they had single line comments, they would have used them. The Olde Ones did!

  3. bobtato says:

    The code in the quotation above is broken because… something… has eaten the characters after the less-than sign, but the original compiles OK.

    Of course, the linker will give errors because swap() and main() have been left as exercises for the reader and even if they hadn’t, the creeping squamous symbols in this code may well cause ld to go utterly insane and link your face to thousands of tiny screaming spiders.

  4. bobtato says:

    PS kudos on Acme::Phlegethtoth. There truly are no end of uses for Perl.

  5. Anonymous says:

    The Old Ones never actually compiled their code, because this code contains a syntax error. ;)

    • dragonfrog says:

      Your compiler fails to produce an executable, as a means of protecting its sanity. It is not a syntax “error”, your compiler simply lacks the fortitude to face the horrifying implications of the syntax.

  6. Anonymous says:

    Too bad it’s spelt ‘fthagn’.

    In both programming and summoning eldritch horrors, spelling and pronunciation matter!

  7. pKp says:

    It’s not exactly a “mashup”, it’s a rewrite/pastiche of “The Shadow Over Innsmouth”.

    Good for a laugh, tho. Thanks !

  8. mirrormonkey says:

    It’s not exactly a “mashup”, K&R C lacked C++-style comments (//), which is a C99-ism

  9. klg19 says:

    Don’t you mean “eldritch” horrors?

    I’ve always loved that word.

  10. bobtato says:

    It is too a mashup– I just bludgeoned section 4.10 of K&R (2nd ed.) into The Shadow over Innsmouth by brute force (this was for the previous BoingBoing mashup contest). You’re right about the C++ comments, though. Now I feel like a total asshole.

Leave a Reply