Re: Sub groups ? - Programming structure...
| From: | Erik Price | Date: | Tue, 09 Apr 2002 18:00:28 +0000 |
| Subject: | Re: Sub groups ? - Programming structure... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92267@lists.php.net to get a copy of this message | ||
On Tuesday, April 9, 2002, at 01:19 PM, Jason Wong wrote:
Well, that's reassuring -- most of my display code is wrapped up in functions. I'll have to adjust if I ever learn one of those other, tightly typed languages. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.comNote 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.