Re: Re: PHP in HTML code

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

 



At 9:34 AM +0000 3/18/10, Pete Ford wrote:

I do tend to use <?php for blocks of code - so I guess I'm in the middle camp here.


Whoa, that's even worse -- make a choice and stick with it -- IMO.

I'm all for consistency and have often found myself redoing dozens of scripts because I changed something -- not because the change worked and the other didn't, but rather to maintain consistency throughout the project.

Granted, different reasons promote different programming styles. While what I do is to solve the problem at hand for the client, it also has to pass through my vision of code elegance. I program for myself first and solve the client's problems second. I also realize that I have the privilege of doing so because my needs are few. I probably wouldn't do well in a production oriented environment.

Cheers,

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


[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