Re: [PHP] Re: PHP in HTML code
[email protected] (tedd)
| Newsgroups | php.general |
|---|---|
| Message-ID | <p06240805c7c7f2b1e537@[192.168.1.102]> |
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