Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does it really make that big of a difference...

Status
Not open for further replies.

rtgordon

Programmer
Jan 17, 2001
104
US
To create a page with <%=x%> scattered throughout the code as opposed to writing out the html with asp in blocks??

gordon
 
The more times you switch between ASP and HTML, the longer it will take the page to be interpretated. So yes it does matter in some sense. This is not a problem in JSP or .NET because the pages are compiled so they take the one time hit at complilation. Will you notice the difference? Probably not. Wushutwist
 
It may also make it harder to de-bug and if it's in a business environment, harder for someone that replaces you (after you get promoted to VP) ;-) to modify.
mark
 
I usually try to block up the ASP code because that is what I have read,been told, etc. The only reason that I was asking is that in this particular case, I am reading in and parsing a 1000 character string from them mainframe, and the variables that I am mapping are scattered all over a pretty long page. As far as best practices go, I will try and block up as much as possible.

Thanks,
gordon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top