Daniel Schierbeck wrote:

Hello there!

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

One reason is that a space is a space and will allways be a space. A tab may be 5, 3 or whatever spaces depending on the editors configration. When more than one developer is developing on a project they will see the indenting differently when using tabs.

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



Reply via email to