From: Spiggy T. <th...@me...> - 2001-05-24 00:51:21
|
this is slightly off topic... but my boss and i disagree on the "preferred" coding style. he is an asp-guy and i am for php so maybe that makes adifference.. ill let you decide since i am hardly the expert: we have an asp application in use at work.. it uses a lot of document.write"<table><tr><td>some data here</td></tr></table>" type of coding, which works like the php echo (as far as i can understand). i dont like this style at all, it makes the code hard to read.. (plus playing with the quotes is a serious pain in the rear end). then in the code there is a part where the programmer actually did it "my way" which means close code tags and do html as plain html and open code tags when theres code to spit out. my boss says this is bad and slows it down. so which way is faster? i know echoing html is considered bad coding style (at least with php) paivi |