Formatting -- defining sections of code
| From: | Andy McKenzie | Date: | Fri, 14 Dec 2012 15:48:05 +0000 |
| Subject: | Formatting -- defining sections of code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-319886@lists.php.net to get a copy of this message | ||
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...
Thanks,
Andy