Re: Sometimes I wonder why I even started programming...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason Pruim wrote:

On Feb 28, 2008, at 11:11 AM, Philip Thompson wrote:

On Feb 27, 2008, at 4:51 PM, Jochem Maas wrote:

Jason Pruim schreef:
<!--Snip -->
I think the real question is... why are you using tabs instead of spaces? =D

~Philip

My editor automatically replaces like 4 spaces with a tab... Is there a reason not to use tabs instead of spaces? :)


I use spaces since when I indent with 4 spaces it is significantly easier to read the code then with 4 tabs...

    4 spaces are before this
				4 tabs are before this

Pretty easy to follow code that does
{
 {
  {
   {
   }
  }
 }
}

Versus the alternative, especially with the character wrapping in vi and other text editors.

At least, that's IMO

YMMV

Wolf ;)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux