|
Ummm...actually, var is a terrible hack, if you are using C# for your coding language. Using var means that the compiler has to do runtime type checking, so you get a lot less efficiency than if you use the proper type names. C# added var to make it easier to code, but I hate it. It means you sacrifice performance because the programmer doesn't want to learn the language.
The real advantage to using ASP.NET is that, if you use a tool such as Web Developer Express, you can use drag-and-drop to create your web pages (the basics, that is) and then you just have to write the "backend" code to handle events on the pages.
But if you aren't using such a tool, and if performance isn't an issue, then there's not much difference between ASP.NET and PHP coding.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
|