Re: VIM config in PEAR files?

From: Date: Mon, 15 Apr 2002 19:06:22 +0000
Subject: Re: VIM config in PEAR files?
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5529@lists.php.net to get a copy of this message
On Mon, 2002-04-15 at 11:23, Dave Mertens wrote: > On Mon, Apr 15, 2002 at 10:16:21AM +0200, Markus Fischer wrote: > > On Mon, Apr 15, 2002 at 10:52:40AM +0200, Dave Mertens wrote : > > > On Sun, Apr 14, 2002 at 11:11:48PM +0200, Markus Fischer wrote: > > > > > > > > Because *I* use vim and intend to place the proper definition > > > > into it so *everyone* using vim will automatically have the > > > > right mode (no tabs, spaces) when editing the files and the > > > > chance of commited something with fu@#^ up whitespaces is > > > > low. > > > > > > I think that i doesn't matter if you're writing PHP PEAR code or just > > > 'normal' PHP code. > > > > I write my code with TAB's instead of Spaces. PEAR standard > > is spaces. So, actually, it does matter. > Hmm, oops. I believe that i'm here the one that is not following the coding standard. > I'm using tabs and no spaces. > I must say that i don't know any developers that are using spaces in stead of tabs. > > But, at school i learned that i should use tabs to ident my code. And because i'm > developing for 18 years now, i don't think i will drp that habit soon.. > > But you convinced me. place those VIM lines into the classes! > > b.t.w. Who made the decision to use spaces in stead of tabs and WHY?? It's that time of month again I guess.. :-) Tabs have variable rendering size, so using spaces only is the only predictable way of formatting code. Did you ever see what happens to indentation in "cvs diff" output on code that uses a mix of tabs and spaces? Or in "less"? Or in any other program using a different tab width? It's all messed up, and that's why we have this standard. - Stig

« previous php.pear.dev (#5529) next »