Re: coding standards
| From: | Anil Madhavapeddy | Date: | Fri, 05 Jan 2001 16:30:36 +0000 |
| Subject: | Re: coding standards | ||
| References: | 1 2 3 4 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-797@lists.php.net to get a copy of this message | ||
Quoting Jon Parise <jon@csh.rit.edu>:
> On Fri, Jan 05, 2001 at 10:50:37AM -0500, Darrell Brogdon wrote:
>
> > Vim is supposed to support Emacs style folding in the next version.
> > I know its ugly but it sure is handy (as exampled by a similar
> > feature in Homesite).
>
> Sure, but then we're catering to two editors instead of one. It still
> doesn't really gain us anything in the grand scheme of things, and
> when you consider PEAR as a standard library of PHP classes, it seems
> logical to keep the format as neutral as possible.
>
Exactly; it's practically impossible to satisfy everyone. Also, (and I
go out on a limb here), it should be possible to implement function
folding in these editors without those comments - come on you elisp
hackers, get out there! :-)
> On the other hand, it might be smart to use modelines (and whatever
> you call them in emacs) to help enforce the coding standards so that
> we don't have repo-bloat from mass whitespace and indentation changes.
Those are just a one-off header/footer aren't they? Seems pretty
useful.
--
Anil Madhavapeddy, <anil@recoil.org>