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

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

 




On Feb 28, 2008, at 2:17 PM, Wolf wrote:

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.


I had never thought about it from that perspective but it makes sense... I think I might try and find if I can change that in my editor :)


--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424-9337
www.raoset.com
japruim@xxxxxxxxxx

--
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