Tuesday, July 22, 2008

Code the Scriptures ...

if the scriptures are in the language of C++ or Java, it might look like this
(ok - i was doodling while reading the Scripture today, and found this to be interesting ...)

here's the verse :
1 John 1:
8 If we claim to be without sin, we deceive ourselves and the truth is not in us. 9 If we confess our sins, he is faithful and just and will forgive us our sins and purify us from all unrighteousness.

in code form ...

if(!claimSin())
{
this.deceived = true;
this.truth = null
}
else
{
if(confessSin())
{
GodEx(); // as in mutex
this.sin = null;
this.deceived = false;
this.truth = God.truth;
GodEx();
}
else
{
// nothing changes ....
}
}

enjoy !


Daniel

No comments: