Visual Basic (VB for short) is a general object-based programming language developed by Microsoft. It is a visual program that is structured, modular, object-oriented, and includes an event-driven mechanism to assist in the development environment. Design language. It is a language that can be used for Microsoft's own product development.
#The biggest difference is that VB can only be used on windows and is not open source. (Recommended learning: Python video tutorial)
And python is open source and can be cross-platform.
This does not mean that VB is not available. In fact, VB can be used in many places. For example, many of the mechanical equipment we often talk about such as microcontrollers are written in C language. But VB language is also used for control. Of course, Python has Raspberry Pi.
In fact, Microsoft is really friendly with python, or the performance of python glue is so good that Microsoft's current office has a python API interface, which is to throw its own VBA into the garbage Bucket. Microsoft's big data Azure also has a python interface. VB is really not as fun as Python when it comes to writing. Python can do everything VB can do better, which is really embarrassing. Now that I go back to writing in VB, all the discomforts I feel are caused by being used to Python.
In terms of development speed, python really has everything you need, VB? Not on the same level at all. I really don’t want to waste words on language. VB is not useless. It can also be used in special situations. For example, if you want to make something on the window, wouldn’t C# and VB be very good?
Finally, let me talk about why I should learn open source stuff. Really, this is a key to my rapid improvement. First of all, you can know how the open source code realizes the requirements, and then settle for the second best. , the worst thing is, for example, if you have a problem, a bunch of documents and open source code are placed there, and you can read them by yourself. You can really make a lot of progress by reading the Python source code.
People’s time is limited, choose a language that you like and treats you well.
Some critics argue that Visual Basic is a language for children and novice programmers, and that it has been a simple language since its design. Some features in C and Java do not appear in VB. While feeling the convenience and speed of development, some functions such as type and declaration checking at compile time are turned off by default. In this way, some programmers lament the ease of use of VB while watching with frustration the occurrence of errors similar to "undefined type".
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of Which is easier, python or vb?. For more information, please follow other related articles on the PHP Chinese website!