Observation: C and Scripture

Observations

bool post () {

/* Unless you know something about C and/or the Bible, read this post at your own risk; */

printf(“In modern computer programming, two types of subroutines are commonly used — procedures and functions.  The difference between the two is that functions always return a value to the caller — just like a function in mathematics — and procedures never do.  Students of the C language quickly learn that C does not have procedures.  C only has functions.  We should require more research to find out whether the designers wanted to nudge the programmer towards always returning values from subroutines or give the programmer a better feel of what the compiled language looked like.  The latter is often the case in C, so we will make that our guess.”);

printf(“Regardless, C does allow the programmer to imitate a procedure call with a function that returns ”void.”  Those in our audience with Bible on the brain will instantly remember Isaiah 55:11, ”So shall my word be that goeth forth out of my mouth: it shall not return unto me void, but it shall accomplish that which I please, and it shall prosper in the thing whereto I sent it.”  This raises three questions in our minds:  %d. Is it possible that the C designers had this Scripture in mind when they wrote their specification?  %d. If a new C variant were created — call it Biblical C — would all functions be required to returned a value and not void?  %d. Why didn’t we think of this before?”, 1, 2, 3);

return true;

}

/* I guess that makes me a weirdo even more than using vi in Windows does. */

2 thoughts on “Observation: C and Scripture

  1. I’ve been thinking about this very concept recently. I’m just typing as I think here…

    Many functions accept parameters. When the Word of God is called with my life as the argument, its statements perform its task upon my heart and return a life with great value. Of course, I’m the only variable. The function contains only constants.

    But what about OOP? Would a class be a better metaphor?

    This idea could really get interesting…to nerds. Nevertheless, it’s very intriguing!

    Delbert

Leave a Reply

Your email address will not be published. Required fields are marked *