Re: Dumb Question

From: Date: Sun, 01 Sep 2002 01:53:37 +0000
Subject: Re: Dumb Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-114805@lists.php.net to get a copy of this message
Here is my stab at it. One person described it as the opposite of OO. So something similar to -> <?php do_this() { // do this code } do_that() { // do that code } if (isset( $_GET['foo'] )) { do_this(); } else { do_that(); } ?> would be considered "procedural code". If Im wrong I stand corrected.... Michael Sims wrote:
On Sat, 31 Aug 2002 14:04:11 -0400, you wrote:
And I feel foolish asking... What is meant by 'procedural code' ???
It's the opposite of "declarative code". Here's a page that briefly explains the difference: <http://www.wdvl.com/Authoring/DB/SQL/BeginSQL/beginSQL2_1.html> and <http://www.wdvl.com/Authoring/DB/SQL/BeginSQL/beginSQL2_2.html> There may be other contexts that the term "procedural" could be used in, and if so it may have other meanings that I am not aware of....
-- Gerard Samuel http://www.trini0.org:81/ http://dev.trini0.org:81/

« previous php.general (#114805) next »