Source Code Poetry: Genesis 1:1

using System.Diagnostics;

namespace SourceCodePoetry
{
    class Program
    {
        static void Main(string[] args)
        {
            TheBeginning();
        }

        private static void TheBeginning()
        {
            // Genesis 1:1
            // In the beginning God created the heaven and the earth.
            God God = new God();

            Heaven theHeaven = God.HeavenFactory.Create();
            Earth theEarth = God.EarthFactory.Create();

            // Genesis 1:2 And the earth was without form, ...;
            Debug.Assert(theEarth.Form.HasValue == false);

            // ...and void;
            Debug.Assert(theEarth.IsVoid == true);
        }
    }
}

This code needs some World Class Exception Handling.

There are Source Code Poetry competitions, but my program does not strictly comply with the rules [1. I always comment my code, and 2. my code is less literal than the example]:

The poetry must be written in any programming language. 

Submitted source code must rhyme (however, modern masterpiece may ignore this rule)

Submitted source code must compile (however we accept poems written in interpreted programming languages)..

Comments and string literals are NOT permitted.

EXAMPLE:

You will(Need no){
 Example at=ALL;
 if (You.are(GOOD))
  at.writing(Your.CODE);
}
Advertisements

Published by

The Guern

Software developer by day; kilt wearing roller-skier (looking for snow) by night. A Norseman misplaced, living in the Deep South.

One thought on “Source Code Poetry: Genesis 1:1”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s