A
Alan Silver
This discussion seems to have focused mostly on complexity and coding styles,
Given the insignificant compilation time on a modern machine, and given
that most production servers are rarely rebooted, this advantage is
minimal at the best. Once the site is running, you often only update one
or two pages at a time, and you can always load those yourself to make
sure no-one else has to wait whilst it recompiles. let's face it, anyone
who uploads new files to a production server and *doesn't* check them
out immediately is asking for trouble, so there's little benefit in your
point.
Then may I suggest you read this thread again. Many benefits have been
suggested. As has been commented several times, there's no *best*
approach, each situation requires judging on its own merits. Code-beside
has many advantages and is the best approach in many situations. Not
all, but enough to render it a genuine and viable approach to be
considered.
Depends who you ask ;-) My opinion of the opinion of MS programmers is
severely tainted by some of the stories I've heard. My brother is one
such Ms programmer and from what he tells me, what goes on inside MS and
what they want us to do are often significantly different.
Ta ra
<snip>and missed one of the key benefits of code behind.
Given the insignificant compilation time on a modern machine, and given
that most production servers are rarely rebooted, this advantage is
minimal at the best. Once the site is running, you often only update one
or two pages at a time, and you can always load those yourself to make
sure no-one else has to wait whilst it recompiles. let's face it, anyone
who uploads new files to a production server and *doesn't* check them
out immediately is asking for trouble, so there's little benefit in your
point.
<snip>The only advantage I have seen for inline coding is
Then may I suggest you read this thread again. Many benefits have been
suggested. As has been commented several times, there's no *best*
approach, each situation requires judging on its own merits. Code-beside
has many advantages and is the best approach in many situations. Not
all, but enough to render it a genuine and viable approach to be
considered.
Every thing I have read, and conversations I have had with MSFT contacts
involved in developing ASP.NET suggest that the only reason the inline coding
style is available at all is to ease the transition for the thousands of ASP
developers who never really learned how to program.
Depends who you ask ;-) My opinion of the opinion of MS programmers is
severely tainted by some of the stories I've heard. My brother is one
such Ms programmer and from what he tells me, what goes on inside MS and
what they want us to do are often significantly different.
Ta ra