When comparing Visual Basic vs Assembly, the Slant community recommends Assembly for most people. In the question“What is the best programming language to learn first?” Assembly is ranked 49th while Visual Basic is ranked 62nd. The most important reason people chose Assembly is:
One of the best ways to learn how a computer actually works is to work your way up from lower level abstractions. Assembly, being only a level above machine code, is low enough level to make it clear how the computer is actually performing a computation, including code flow and loops, but high enough level to not be excessively tedious for the type of small projects that a student would do at the beginning of their first programming class. Use of an assembler with macros can stretch this even a bit further.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Very simple and efficient language (in terms of number of lines of code)
Pro Easy to learn
Pro Capable language
Compiling to the same intermediate language as C# and compiling against the same .NET libraries, the differences between C# and VB are largely syntactic. Most VB features even have a 1:1 correspondence with C#.
Pro Huge community
Being Microsoft's introductory language, visual basic has a strong and large community.
Pro English-like syntax
Pro Flexible, won't get in the way of a beginner
A beginner developer can worry about the code logic first, and then learn the language. Visual Basic lets you do basically anything if you really want, while still having the power to be a fully statically-typed and object oriented.
Pro Sibling to C#
If you don't want to start with C# because of its high learning floor, you can start with VB. It is dead easy to switch between the two.
Pro Easy to deal with Win32API
Using platform invoke, it's very easy to use the win32 api in vb.net. Neat and clean syntax. Not a mess like c# (meaning those "{}"s).
Pro Low Level - it's how the computer works
One of the best ways to learn how a computer actually works is to work your way up from lower level abstractions. Assembly, being only a level above machine code, is low enough level to make it clear how the computer is actually performing a computation, including code flow and loops, but high enough level to not be excessively tedious for the type of small projects that a student would do at the beginning of their first programming class. Use of an assembler with macros can stretch this even a bit further.
Pro Naturally creates fast and small programs
Because of its natural syntax and low-level nature, assembly language programs are typically really small and fast.
Unlike other programming languages, in assembly language it is really hard to create a slow and over-bloated program.
Pro You must look into it if you really want to understand what computers do
There is no other way to understand a processor, so dig in.
Pro Useful for embedded systems
A curriculum that involves an embedded component, such as an Arduino or a Raspberry Pi, can encourage students by allowing them to immediately connect their work with 'real systems'. Assembly is the ideal language for getting started with and understanding these devices, and since Assembly can be called from C, the code will still be useful if students move on to C later in the program.
Pro Uniform syntax
Assembly language syntax is relatively uniform, and so there's less room for a student to get confused by obscure characters, or miss some meaning implied by structure, such as with scoping rules, or call-by-name/value/reference semantics. While there may be a lot of mnemonics to look up, most work involves only a very small subset of them.
Cons
Con Almost as bad as Python, but less used
Con Bad reputation
Being a visual basic programmer, you're unlikely to be taken seriously by other programmers. According to the 2015 Stack Overflow survey, it was voted the second most dreaded language among developers.
Con Tends to get clunky due to prebuilt assets
Con Difficult learning curve
Starting off as a beginner with assembly language could prove very daunting. I suggest learning a high level language first (e.g. C) to get a good grasp of programming - especially dealing with bits, bytes, numbers, accessing memory with pointers (which is why I suggest C).
Then once that person is comfortable writing C (or whatever high level language) programs, they would find moving to assembler a little less of a "What the hell?!!!" experience.
Con Rarely a requirement or used in professional employment
(except for experts, which will outperform you in assembly language and execution speed on any day of the week, simply because they have full control of the processor.)
Con Not very portable
The instruction set may change depending on what CPU architecture is being used. Also, there will be some differences in implementations due to different assemblers being used, such as with changes in OS.
Con Language for those sadists that like pain
Not recommended as a first language. However, in small doses to show how higher level code is executed, can be of some value. Is also a language that will take a longer time to learn or finish projects with, so usually not for those who are in a hurry to get anything in particular done.