1 - By using spaces on php code, I assure that I (or others) can edit
the script in any editor easily
2 - I use tabs(or no tabs at all) for html because size of output sent
to browser is smaller this way.
Greg Donald wrote:
On Thursday 15 April 2004 12:21 pm, Jorge Oliveira wrote:
I use
I think I am also sleeping :)
My conclusion is that:
-> for html is better using tabs because by using spaces, it will
increase output to the browser;
-> when coding php it's irrelevant because output is not parsed to browser.
Jorge | cloreto.com
--
PHP General Mailing List (http://www.php.net
1 - If we are talking about php code, it's irrelevant, in terms of size,
using spaces or tabs, because they are not part of output.
2 - If, on other and, we are talking about html created by the php code,
the case is completely different because output is parsed to the
browser, so size will incr
--
Cumprimentos,
Jorge Oliveira
Assistência
Seara.com
Cais das Pedras, Nº 8 , 1º Esq.
4050-465 Porto - Portugal
Tel: (+351) 22 607 56 70
Fax: (+351) 22 607 56 77
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo