Scripting Languages vs. Compiled Languages for web development

后端 未结 7 906
鱼传尺愫
鱼传尺愫 2020-12-31 08:05

Though I come from a purely PHP background on the web development side of programming, I have also spent much time with C# and C++ on the desktop.

I don\'t really wa

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 08:37

    I find it to be mostly a matter of opinion. At first I hated the pre-compiled web applications asp.net provides, but I've gotten used to it so I don't hate it anymore. It has advantages and disantages:

    Pro

    • pre-compiled web applications are easy to deploy, often you'll only have to update the bin-directory
    • pre-compiled web applications perform well
    • you don't have to upload source code, which is nice imho.

    Con

    • updating a pre-compiled web app generally means the web application is reset, so unless you've changed the session state, it'll end all sessions and log everyone out
    • rebuilding a large web application can take some time, which is added to the time it took you to write the changes in the first place. I am sometimes impatient.

    I've always liked how easy it is to just update one file in a PHP project without having to rebuild a project or something like that, on the other hand, .net has a nice IDE that allows you to debug everying, from back end (C#, VB.net) to front end (Javascript), in one package. But again; both have advantages and disadvantages.

提交回复
热议问题