On Nov 21, 2004, at 4:53 PM, Ryan King wrote:
On Nov 21, 2004, at 3:09 PM, Matthew Weier O'Phinney wrote:
* Daniel Schierbeck <[EMAIL PROTECTED]>:
There seems to be some tendency towards using spaces instead of tabs
when indenting PHP code - personally i can't come up with any reason
not
to use tabs. I was just wondering if any of you freakees had some
sort
of explanation...
Most likely due to PEAR standards:
http://pear.sourceforge.net/en/standards.php
I'm not sure what the rationale was behind using spaces instead of
tabs,
but it's a standard I've seen in perl as well; it's not entirely
unheard
I believe the rationale is that, since different environments define
tabs as different sizes. So, the only way to be consistent across
different environments is to use spaces. FWIW, many text editors can
emulate tabs. That is, when typin, you can hit tab, but the text
editor inserts spaces instead. I find this very useful.
-ryan
Word for word ditto.
~Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php