VB is a shorthand for Visual Basic. It is a visual programming language and a tool for developing application software simply and efficiently.
Features of the VB language:
1. VB is a visual, object-oriented and event-driven structured high-level programming language;
2, can be used to develop various applications in the Windows environment;
3. In the Visual Basic environment, use event-driven programming mechanism, novel and easy-to-use visual design tools.
Advantages of using VB language :
1, powerful, comparable to Windows professional development tools;
2. VB is always the most efficient development tool with the lowest efficiency and lowest development cost;
3, easy to learn, high efficiency; using a wide range of application programming interface (API) functions inside Windows, using dynamic link library (DLL), object linking and embedding (OLE), open data connection (ODBC) and other technologies, can be efficient Quickly develop powerful applications with rich graphical interfaces in the Windows environment.
The advantages of the vb language are obvious why it is eliminated? The following is the reason why Xiaobian analyzes why the vb language is eliminated from two directions. One is because of the arrival of the Python language, and the other is why some people are not willing to use the vb language.
Why the vb language was eliminated because of a simpler and easier to learn Python language, specifically to understand the details
Now AI artificial intelligence is beginning to accelerate, as the basic language of AI artificial intelligence - Python is a very easy to get started programming language. It has been previously reported that AI artificial intelligence will become one of the compulsory courses in primary schools, and now the Python language will also be included in the information technology textbooks of primary schools.
The Ministry of Education Examination Center issued a document on the National Computer Rank Examination Adjustment Program in October this year. It is stated in this document that starting from March 2018, the content of the computer secondary examination will be cancelled "Visual FoxPro Database". "Programming" (also known as the VF mentioned above), and then add the "Python language programming" exam content, although the VB programming content still exists, but because the Python language is easier to get started, the feathers are extraordinary and may be considered in the future. The VB language was eliminated due to the increase in the number of people learning the Python language.
In addition to making adjustments in the National Computer Rank Examination, it is also determined in Zhejiang, Beijing and Shandong that the basic course of the Python programming language will be added to the teaching content of the information technology textbook and the college entrance examination, and the Python programming language exam will become the college entrance examination. An extra measure.
At the same time, Shandong Province in the sixth grade of information technology textbooks, also in the recently published version of the basic content of the Python programming language, which means that the Python programming language will become a programming language for primary school students.
Why is the vb language eliminated? Why not use or not use VBSome people may use less or not VB because of the following views.
(A) The project stipulates that other languages ​​are to be used.
(B) VB language cannot complete the project requirements
(C) VB language is not as efficient as other languages
(D) Did not learn VB
(E) Discrimination by others with VB
(F) VB runs slowly after compilation
(G) The resources for learning VB are too scarce to refer to.
(H) I feel that VB is too bad.
(I) Although I like VB, I am used to other languages.
Post a personal opinion here.
VB6 and VB.net are very different, so they will be discussed separately. In contrast, the difference between C and C++ is not very large, so I will not deliberately distinguish them.
(A) This is no way, and now many projects require C/C++ or Java.
(B) It is true that VB6 is quite cumbersome to complete some advanced operations, often with API functions, and may not be successful. However, VB.net does not have this problem. The .Net Framework class library is quite powerful and can fully meet the requirements of various projects.
(C) should distinguish between development speed and speed. If it is development speed, VB development speed is very fast. VB6 or VB.net is very fast in the design of the form interface. VB6 is not very good in pure code development. However, VB.net is very convenient. The code editor of VB.net in VS2008 is the most I have ever seen. Convenient code editor that automatically formats the code, automates the identifier, compiles in the background, debugs in real time, and more.
(D) Then forget it.
(E) That is, others don't understand VB.
(F) Error, VB6 compiled code can run as fast as C, the key is to select the compiler cost code in the compiler options, while optimizing the speed, the advanced options such as cancel the array boundary check all hook, so compile The program is not much different from C. But VB.net is compiled into managed code, so it's not faster than C, but faster than Java is still possible.
(G) Probably, colleges and universities rarely offer VB courses.
(H) VB is definitely not bad.
(I) VB grammar is too different from C. Sometimes I use VB and sometimes C. As a result, I always habitually misuse another grammar in one language. In contrast, C's syntax is relatively simple, the code written is more concise and clear, I prefer C's language style.
In short, VB still has a lot of advantages, but I rarely use VB now, because I found a better language: C#.
C# combines the advantages of VB and C, and adds many new language features. In terms of code editor, C# is slightly less VB.net, but C# has refactoring capabilities, VB.net does not. In terms of functionality, they all use the .Net Framework class library, which is not much different in this respect. In terms of language style, C# inherits the simple language style of C, and the introduction of Lambda expression makes this simplicity to the extreme. For example, array a, we want to select all the numbers less than 10 in a, and the square of these numbers constitute a new array. If it is C++, you should write this:
Int b[100];
Int nb=0;
For(int i=0;i"100;i++)
If(a[i]"10)
b[nb]=a[i]*a[i], nb++;
And C# only needs one sentence:
Int[] b=a.Where(x =》 x"10).Select(x =" x*x).ToArray();
Compared with C++ monotonous object-oriented, C# and VB.net introduce novel programming concepts such as interfaces, delegates, properties, events, generics, extension methods, Lambda expressions, reflections, etc., making writing programs more convenient and understandable. Easy to maintain and easy to reuse.
C# has another advantage over VB.net. C# can write unmanaged code and can use pointers like C. So if the program has special requirements for running speed, C# can also be written and C. As fast as the code.
It is said that in VS2010, C++ will also have Lambda expressions, and the STL+Lambda expression will rejuvenate the increasingly backward C++ language. However, C++'s backward header include mechanism. If there is no improvement, C++ will still compile very slowly. VB.net and C# are compiled in the background, and it is compiled when you write the program, and C++ often compiles a very simple program for a few seconds (unless you don't include any header files). Very annoying.
Laptops,windows Laptops,win11 Laptops,win10 Laptops
Jingjiang Gisen Technology Co.,Ltd , https://www.jsgisentec.com