zem ([info]hitchhiker) wrote,

random thought dj: creation

On the zeroth day, God created C
Tags: geek, humour, quote

  • Post a new comment

    Error

    Your reply will be screened

    Your IP address will be recorded 

  • 12 comments

[info]wcg

December 14 2005, 20:40:50 UTC 6 years ago

So She could compile the UNIX kernel on the 1st day?

[info]hitchhiker

December 14 2005, 21:04:49 UTC 6 years ago

god# cat >> beginning.c
void earth;
^D
god#

[info]marnanel

December 14 2005, 20:44:06 UTC 6 years ago

Well, you know there won't be any C in heaven. (It works better if you quote it aloud. Someone once brought up the topic of celestial programming and I was pleased to be able to quote Revelation 21 at them.)

[info]hitchhiker

December 14 2005, 20:53:58 UTC 6 years ago

ROTFLMAO! that's absolutely priceless.

[info]keristor

December 14 2005, 20:48:08 UTC 6 years ago

The language or the Continuum? (Depends whether one is a programmer or a mathematician which one thinks of first...)

[info]hitchhiker

December 14 2005, 20:51:15 UTC 6 years ago

the language, because of the whole zero indexing thing :)

[info]asimovberlioz

December 14 2005, 20:50:47 UTC 6 years ago

I would have thought it would be c, or the speed of light. No point in creating something if you haven't already decided its properties.

[info]hitchhiker

December 15 2005, 07:51:04 UTC 6 years ago

what, you're an antievolutionist now?

[info]lightning_rose

December 14 2005, 21:13:56 UTC 6 years ago


Pascal supports zero indexing. And negative indexing. IIRC, anytime you declare an array in Pascal, you have to specify the index range. I think the syntax is: array NAME[RANGE] of TYPE;

For example,

array foo[-10..10] of int;

Creates an array of 21 integers.

[info]keristor

December 15 2005, 07:48:41 UTC 6 years ago

That's true of Ada as well. But they aren't naturally' based on any number, unlike Fortran (1) and C (0).

[info]hitchhiker

December 15 2005, 07:50:39 UTC 6 years ago

yeah, but the stereotypically zero-indexed language is C (:

[info]aunty_marion

December 14 2005, 22:14:25 UTC 6 years ago

I have the CD of Roundworm: I'm now humming

o/~God wrote in LISP code....o/~
Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…