At 5:10 PM +0000 11/27/06, Mark Kelly wrote:
Hi.
In the stuff I do almost all the HTML is generated with PHP as basically
none of it is static (lots of tabular data, state-sensitive links, stuff
like that).
Am I crazy to make an extra effort in my code to make the generated HTML
pretty? By this I mean linebreaks, indentation etc. - stuff that is aimed
at readability rather than correctness. This is obviously above and beyond
simply making sure it validates. It's not a huge burden by any means, but
it *is* extra effort.
What do you guys do?
All my coding in all languages is pretty. To me ,it's simply an
addition to documentation.
Sure it takes more time, but if I ever have to reuse the code, it's a
snap to figure things out. Besides, it helps me organize and write
better code.
However, most of the pretty html stuff is covered by css -- but that
too (for my work) is generated by php. They all go together.
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php