You will find that there is not all that much distinguishing differences from Visual C# and Visual Basic. These languages are known as Intermediate Languages (IL). This becomes an important factor in that this can have a limitation in what systems may run the applications that are designed with these languages. The limitation falls from the code being interpreted by the Common Language Runtime (CLR). VB.Net is also a language that uses a Just-In-Time (JIT) compiler. This means that an application that is ran for the first time may take a few extra CPU cycles to execute because it is loading for the first time; however, the benefit therein lies when the application runs the code again it will be faster in execution because the JIT compiler had already compiled the coding.
If this is all confusing then don’t worry; as you do more learning about the advantages and disadvantages of VB this will become clear. The main part to keep in the back of your mind is that using these languages will not always provide the most efficient CPU processing times; however, you will also want to keep in mind that most applications spend more time waiting on user input than on CPU cycles; so typically there is no huge advantage to using a language that uses a ‘true’ compiler.
The major difference is program language specifications and a few other minor features / options. A prime example is that Visual C# can handle pointers directly, where as VB must use an API reference to do this. This may confuse the crap out of you now while you are still learning these terms, don’t worry about not understanding. This all basically means that C# can do something better than VB; however, with every Yin is a Yang. Handling a pointer directly can cause application instability, therefore VB can be considered a safer programming language since it will not be as instable when it comes to a pointer. As mentioned before, this all comes down to a preference. You will find throughout your journey as a programmer that there will be many, many non-VB programmers who will think they are using a superior language to VB and you will find many, many VB programmers who will point out where VB handles things better than other languages.
If you talk to an experienced programmer who has used VB and C# on a regular basis for many years, then you are likely to hear that the programming languages are nearly identical, except for syntax usage. To further confirm this you will find software applications available that can readily convert coding from VB to C#, or vice-versa. Now these conversions may not be accurate; but you will find there is very little error in them. The other thing that will be apparent to you, is once you learn VB you will find that if you view coding from C# you will understand quite a great deal of it; you may not be able to convert line for line, but you will definitely be able to look at a block of coding and determine what it is attempting to do and the method in which it is doing it.
This blog is targeted at beginning / novice programmers for the Visual Basic (VB) language.
Showing posts with label Application. Show all posts
Showing posts with label Application. Show all posts
Saturday, March 10, 2007
Why choose VB.Net as your programming language
Quite simply put....choose it because it fits your personal preference. In order to answer this question there are a few things that must be understood.
There are a multitude of programming languages to choose from. It is important to understand the advantages, as well as the disadvantages of your chosen programming language. In most of my postings I will refer to designing applications; it is very important to understand that there are many different definitions in the programming world for the word “application”. In my references I will default to the definition of a software program that is intended for either productivity or informational purposes. This is very important to understand that these references are not aimed at designing games. Game programming has a whole different set of rules, methods and terminology.
You will find when talking with experienced programmers, most will have an opinion on why their chosen language is the ‘best’ language to use. From my past experiences I have found that most programming languages have its strong points for specific types of software programs. The one constant thing I have found is that just about all of the programming languages can be used to make at least 85% of the applications you will design (read the above paragraph for my definition / use of ‘applications’). I can say this with the utmost confidence because 85% of the software applications released do not require a complex set of graphics coding. You will find that Visual Basic.Net, Visual C#, C++, Delphi, and many other languages can accomplish the same ending results. The real differences in these languages are in specific features, methods of accomplishment, ease of Rapid Application Design (RAD), and coding language specifications.
You will also find that game programming has a much more distinct choice of programming language. Game programming will require a thorough understanding of the advantages vs. disadvantages of each possible language. This isn’t to say that using a program such as VB.Net isn’t suitable for creating the next top-end game; I am simply stating that you will find many more disadvantages to using a language such as VB over C++ for this type of programming.
There are no easy ways in determining what the best language is to learn; I suggest getting proficient in one at first and then slowly add on other languages that compliment your primary language. I cannot stress enough that you will find each language to have its advantages and disadvantages. I will provide a posting that will discuss these advantages / disadvantages for VB.
The major thing to keep in mind when choosing a language is your personal preference and what you feel will best suit your wanted results, rather it be to learn a language that has a smaller talent-pool to increase your market value as an employee, or you simple want to choose the language that has a huge support system (meaning many experienced programmers to talk to, many self-teaching books, etc) or you just want to choose a language that you feel is simpler to learn.
I would encourage learning VB as your first language because it is a verbose language. Once you have the basic understanding of the VB language you will find that you can read the language as though it were written as a book.
There are a multitude of programming languages to choose from. It is important to understand the advantages, as well as the disadvantages of your chosen programming language. In most of my postings I will refer to designing applications; it is very important to understand that there are many different definitions in the programming world for the word “application”. In my references I will default to the definition of a software program that is intended for either productivity or informational purposes. This is very important to understand that these references are not aimed at designing games. Game programming has a whole different set of rules, methods and terminology.
You will find when talking with experienced programmers, most will have an opinion on why their chosen language is the ‘best’ language to use. From my past experiences I have found that most programming languages have its strong points for specific types of software programs. The one constant thing I have found is that just about all of the programming languages can be used to make at least 85% of the applications you will design (read the above paragraph for my definition / use of ‘applications’). I can say this with the utmost confidence because 85% of the software applications released do not require a complex set of graphics coding. You will find that Visual Basic.Net, Visual C#, C++, Delphi, and many other languages can accomplish the same ending results. The real differences in these languages are in specific features, methods of accomplishment, ease of Rapid Application Design (RAD), and coding language specifications.
You will also find that game programming has a much more distinct choice of programming language. Game programming will require a thorough understanding of the advantages vs. disadvantages of each possible language. This isn’t to say that using a program such as VB.Net isn’t suitable for creating the next top-end game; I am simply stating that you will find many more disadvantages to using a language such as VB over C++ for this type of programming.
There are no easy ways in determining what the best language is to learn; I suggest getting proficient in one at first and then slowly add on other languages that compliment your primary language. I cannot stress enough that you will find each language to have its advantages and disadvantages. I will provide a posting that will discuss these advantages / disadvantages for VB.
The major thing to keep in mind when choosing a language is your personal preference and what you feel will best suit your wanted results, rather it be to learn a language that has a smaller talent-pool to increase your market value as an employee, or you simple want to choose the language that has a huge support system (meaning many experienced programmers to talk to, many self-teaching books, etc) or you just want to choose a language that you feel is simpler to learn.
I would encourage learning VB as your first language because it is a verbose language. Once you have the basic understanding of the VB language you will find that you can read the language as though it were written as a book.
Subscribe to:
Posts (Atom)