HOME | DD

ZeroElements — Code Poem - God Object Defined
Published: 2010-07-16 21:44:42 +0000 UTC; Views: 615; Favourites: 8; Downloads: 2
Redirect to original
Description
//the God object is instantiated here
//within you will find it's attributes and methods

var God={
   genocidal:true,
   psychopath:true,
   xenophobe:true,
   homophobic:true,
   petty:true,
   unjust:true,
   power:InfinitePower,
   createWorld:function(){
      //this happens in a span of 6 days
      God.power.create( 'universe' );
      God.power.create( 'world' );
      God.power.create( 'life' );
      return God.power.create( 'humans' );
   },
   wrath:function( Person ){
      if( believeWithoutEvidence( Person ) === true )
         Spare( Person );
      else sendToHell( Person.suffer() );
   },
   revelations:function(){
      God.power.destroy( 'universe' );
      alert('Fear me, for I am your Lord God.');
   }
};



//Call the God object
var Humans=God.createWorld();
for( years=0; years<=6000; years++ ){
   Humans.populate();
   for( var Person in Humans )
      God.wrath( Person );
}
God.revelations();

//religion in a programmatic nutshell
Related content
Comments: 22

DeadlySemicolon [2010-07-27 23:14:23 +0000 UTC]

This is great.

👍: 0 ⏩: 1

ZeroElements In reply to DeadlySemicolon [2010-07-28 02:18:33 +0000 UTC]

Wow thank you! Glad you like!

👍: 0 ⏩: 1

DeadlySemicolon In reply to ZeroElements [2010-07-28 14:31:31 +0000 UTC]

I've never seen a poem done like this before-- it's so interesting

👍: 0 ⏩: 1

ZeroElements In reply to DeadlySemicolon [2010-07-29 06:25:07 +0000 UTC]

It's code in Javascript, the language of your browser. Much of DeviantArt's front end is coded in Javascript.

👍: 0 ⏩: 1

DeadlySemicolon In reply to ZeroElements [2010-07-29 20:22:57 +0000 UTC]

Yes, I know. I've just never seen a poem in it! So cool

👍: 0 ⏩: 0

j00ed [2010-07-21 17:37:35 +0000 UTC]

Poetry, programming and atheistic truth combined. The nerd inside me is so pleased.

👍: 0 ⏩: 1

ZeroElements In reply to j00ed [2010-07-21 20:08:53 +0000 UTC]

Sweet! Glad you like!

👍: 0 ⏩: 0

surrealdeamer [2010-07-17 14:29:12 +0000 UTC]

Long have I awaited the day that DOS-like codes could be considered poetry!

👍: 0 ⏩: 1

ZeroElements In reply to surrealdeamer [2010-07-17 19:01:28 +0000 UTC]

Programming languages are conceptual in nature if you can linguistically tie it together. You can see the logical progression, but it takes a bit of looking at it. You can't really read it from top to bottom, it's like you see the object instantiated, then you see it's use, and you my have to refer back to the object to get it's logic when you see it in action on the bottom of the poem. Glad you like!

👍: 0 ⏩: 0

TeenageBeatnik [2010-07-16 23:05:43 +0000 UTC]

Beautiful, and a stand-out in it's genre. I absolutely adore this piece.

👍: 0 ⏩: 1

ZeroElements In reply to TeenageBeatnik [2010-07-17 00:49:49 +0000 UTC]

Why thank you I really appreciate it!

👍: 0 ⏩: 0

Neko244 [2010-07-16 21:56:46 +0000 UTC]

Damn, I love code poems!

👍: 0 ⏩: 1

ZeroElements In reply to Neko244 [2010-07-16 22:14:50 +0000 UTC]

They are fun to do!!

👍: 0 ⏩: 0

Agent6-7 [2010-07-16 21:56:15 +0000 UTC]

var God- is it a german word ''var'' ?

Interesting poem btw

👍: 0 ⏩: 2

ZeroElements In reply to Agent6-7 [2010-07-17 00:49:02 +0000 UTC]

however now that i think about it. in german there is "war", pronounced the same way as var and it would be the past tense to their verb sein (to be)... so I can see why you thought that at first.

👍: 0 ⏩: 1

Agent6-7 In reply to ZeroElements [2010-07-17 00:51:14 +0000 UTC]

Kinda xD

👍: 0 ⏩: 1

ZeroElements In reply to Agent6-7 [2010-07-17 01:10:08 +0000 UTC]

tell me! what made you think German for var?

👍: 0 ⏩: 1

Agent6-7 In reply to ZeroElements [2010-07-17 01:12:09 +0000 UTC]

IDK something like ''war'' or a translation of a small word like ''go'' or something like that.

👍: 0 ⏩: 1

ZeroElements In reply to Agent6-7 [2010-07-17 01:16:43 +0000 UTC]

"war" seems to be the one that would make the most sense... "it was".

👍: 0 ⏩: 0

ZeroElements In reply to Agent6-7 [2010-07-16 22:14:01 +0000 UTC]

var stands for "variable". A variable is a facility for storing data. Here var is used to explicitly create "God" (the facility) as an object (the data structure). It's object oriented programming.

Thanks I appreciate it.

👍: 0 ⏩: 1

Agent6-7 In reply to ZeroElements [2010-07-16 22:15:17 +0000 UTC]

Thanks for explaining

👍: 0 ⏩: 1

ZeroElements In reply to Agent6-7 [2010-07-16 22:16:23 +0000 UTC]

No problem!

👍: 0 ⏩: 0