Re: Formatting -- defining sections of code
| From: | Larry Martell | Date: | Fri, 14 Dec 2012 16:28:17 +0000 |
| Subject: | Re: Formatting -- defining sections of code | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319888@lists.php.net to get a copy of this message | ||
On Fri, Dec 14, 2012 at 11:20 AM, Paul M Foster <paulf@quillandmouse.com> wrote:
> On Fri, Dec 14, 2012 at 10:48:05AM -0500, Andy McKenzie wrote:
>
>> Hey folks, kind of a strange question here.
>>
>> Basically, I've been trying to move my style from "self taught" to "Oh
>> yeah, there IS a standard for this." One of the things I frequently
>> want to do is define sections of my code: to take a simplistic
>> example, "this outputs everything that needs to be in file A, this
>> outputs what needs to be in file B," and so on.
>>
>> Up until now, I've used my own standards (generally "####
>> SectionName", since it's easy to search for). But it occurs to me to
>> wonder; IS there a standard for this? Most likely, the programming
>> world being what it is, there either isn't one or there are lots of
>> competing standards, but I'd be interested to know...
>
> A *standard* for something? ROTFL! Yeah, like there's a standard for
> herding cats! [guffaw]
The nice thing about standards is that there are so many of them to choose from.
-Andrew S. Tanenbaum