Re: Sub groups ? - Programming structure...
| From: | Jason Wong | Date: | Tue, 09 Apr 2002 17:19:58 +0000 |
| Subject: | Re: Sub groups ? - Programming structure... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92257@lists.php.net to get a copy of this message | ||
On Tuesday 09 April 2002 21:50, Erik Price wrote:
[snip]
> Note that some might consider this a perversion of functions, since
> functions are intended to operate on input and return a value -- but
> this is a convenient way of modularizing your display code, and I use it
> a lot.
Not really. Some languages differentiate between functions and procedures
(subroutines and whatever else they are known as). PHP, in keeping with its
loosely typed nature, functions does the job of both.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Ego sum ens omnipotens.
*/