I did this in both directions, and to be honest, in addition to being able to pass code and a web form to two different people (which does not happen when I work), I see very few advantages of one method over Others. I can understand how good it is to have code in one file and markup in another, but I can also understand how easy it is to have both in one file.
I don’t see how using code makes you use any “good” programming, because you can still write crappy code in the code, and I saw some really clean things with a string.
So my real questions, what method are you using? and is there anything you can do programmatically with code that simply cannot be executed with inline code? or it all really comes down to the simple question of "personal preference." Microsoft does not seem to maintain a real position anyway, and the performance is wise, it seems that washing.
opinions?
source
share