Joke Collection Website - Cold jokes - Why are there only VB scripts and Java scripts and no C# scripts?
Why are there only VB scripts and Java scripts and no C# scripts?
Under the general prize, a script is a language code executed outside the program to assist the functions of some software or programs. So generally speaking, we say that scripts emphasize two aspects, one is the host program, and the other is the language itself. For example, we say browser scripts, flash scripts and so on. , emphasizing the description of the host program. Of course, the host program of browser script is browser, and the script language is generally vbscript or javascript. For example, flash script uses actionscript, which is what we often call action script. And 3D max uses the MaxScript script added after 8.0. Moreover, photoshop has added javascript script support in the latest version. Either way, you can see that the script is actually more powerful by using the host program and is executed outside the host.
Because it is executed outside the host, it is usually built in a translation language (which is interpreted and executed at the same time), and only in rare cases, it is built in a compilation language (compiled once and then executed).
So it can be seen from the definition of script that not all languages are called scripts, and compiled programs can only be called programs. For example, there are two kinds of script interpreters in windows, one is javascript and the other is vbscript/VB. But as far as the language itself is concerned, it can't be called a script, and the language can only be the script of the host, that is, the host program chooses this language.
However, the term scripting language also has a name, which is not standard and is related to javascript and vbscript. Javascript was developed by Netscape. Its original function is embedded in the browser, so that many programs now have it built in, but it doesn't have its own real development environment. However, vbscript is a sub-language of vb. Its purpose is obviously to replace JavaScript-Microsoft doesn't allow others to be the boss, but the result is that the two languages are completely compatible. Now IE browser also supports these two scripts. The role of these two languages is to act as scripts, but nothing else, so they are called scripting languages.
Until the appearance of asp framework, these two languages were also adopted. Some people say that the language used by asp is asp script, but it is not appropriate to call it script because asp realizes its own functions. So it is possible to use two languages in asp instead of calling scripts. Because asp is just a framework, there is no language, so the script or language is vague for asp.
And all your java scripts are either misnomers of javascript scripts-many people think javascript has something to do with java-in fact, Netscape was acquired by Galaxy only two years ago. There is no relationship between the two languages. And vbscript is a subset of vb, all developed by Microsoft. In the past, many students who did web front-end development always thought javaScript was java or mistakenly thought javascript was a subset of Java before learning Java language. So that there was a misinformation of java scripts.
But there really is a java script, which comes from the plug-in java applet in IE browser. Applet plug-ins use Java language. However, due to the lawsuit between Microsoft and sun, Microsoft refused to add applets to IE, and sun subsequently sued it, so Microsoft had no choice but to build the plug-in support in IE-but refused to update it-you know, browser IE was the boss at that time. At that time, many people were very optimistic about java applet, but due to Microsoft's uncooperative, this technology was no longer used.
So in fact, the scripting languages we are talking about generally refer to javascript and vbscript. But as far as the language itself is concerned, it is also possible to use C# as a script. Scripts can also be compiled, such as SQL, Pl/SQL, etc. We sometimes call it a database script. It can be executed after compilation-sometimes translated sentence by sentence.
Another possibility is that DOS may become a script, and in software such as keystroke wizards, scripts also refer to those language fragments.
I think you are familiar with the script.
There are C# scripts for playing games on the first floor. In fact, what you do are all programs, which can be called scripts compared with games, but if so, the scope of scripts is too large, right? When you say script, you really mean the underlying language.
In addition, the translated language is often chosen as the script, but unfortunately, C# is a compilation language, not a translation language. Don't say the script must be translated. If you say that the script is a translated language, then C# can't be a script anyway, because C# can only compile and run, and VB can translate and compile.
One more question: What language is asp? I have seen some people write asp in javascript, and some people write asp in vbscript/VB or even other languages. What language is asp? Jsp is a web page framework of java, which uses the java language. Asp.net is a framework. Net, you can use many languages. Are you sure the script name used in shell is called shell language? In the future, the language and framework should be clearly distinguished-otherwise the insiders will really see your jokes!
- Related articles
- Why is my dj version popular when I see it?
- Is there anyone who can tell jokes to provide the following ~ ~ ~
- Rude words and jokes.
- He licked my nose. What do you mean?
- Recall a joke
- What do you mean by dumb luck?
- Car spare tire joke
- Manchester city tourist attractions recommend Manchester city tourist attractions in the United Kingdom.
- In the history of football, which teams were extremely luxurious, but failed to achieve good results in the end?
- An English song, MV, in the qq ride is sung by a man and tells the story of a woman who paints. English name of the song ...