Re: [RESOLVED] Newb and VB
My advice to you is to ignore that advice from x-ice unless you have good reason not to.
There has long been a belief that VB is a toy language, and that has been extended to .NET. This perpetuates in the pay scale, where C# developers are paid, on average, somewhat higher than VB developers. This is nuts, since MS deliberately converged the two languages beginning with the 2005 version. The two compile to the same IL, and there are no feature differences between the two that are worth anything. Each one does a few minor things better than the other, but VB is a VASTLY superior language for most people. After all, any good typist will be considerably more productive in VB, which primarily uses text, over any of the C-based languages that make such heavy use of the tendon killing symbol keys (and especially heavy use of Shift-symbol keys, such as the curly braces). Everything you are taught to avoid in any typing class is what C-based languages make the most heavy use for. C-style languages are easiest for crappy hunt-and-peck typists, which is a dieing breed in our increasingly computerized society.
C-style languages are archaic for other reasons, too. For example, they are case sensitive, which is just a stupid design. A case sensitive language means that the variable MyVariable is different from myvariable, and both are different from myVariable. That means that you can have MANY different variables with the exact same characters, but with different cases. No sane person would use two variables that only differ by case, as it would be a maintenance nightmare, so why did C use this style? C uses the style because C is so old that the original compilers didn't have enough reserve computing power to correct cases like VB can. Case sensitivity only persists because of people worshipping at the alter of past practices because they are old, not because they are useful. It's an archaic holdover foisted on the coding community by the necessity of a day that no longer exists. It would be like all programs being requires to fit into 64K just because that's all the early PCs had.
Another example of this is the semi-colon that has to terminate every line in a c-style language. This causes more headaches for people than probably anything else in those languages. It isn't necessary. In VB, the line ended when the line ended. If you wanted to continue the line to the next line you could use the line continuation character, and even that has been dispensed with these days. But the c-style languages are still tied to that superfluous character. It's an indefensibly bad design, but they can't break free of it.
And on I could go. It is my contention that the C-syntax languages persist because they are used by a bunch of geeks who are so insecure that they need to make coding extra-incomprehensible to bolster their dubious claim to self-worth.
Re: [RESOLVED] Newb and VB
Well I thought about getting into C# but thought 'what is the point' when VB is easier and will make the same program but for me, a lot quicker and easier! :p
Is VB and C# a bit like blu-ray and hd-dvd with VB winning? lol
Re: [RESOLVED] Newb and VB
Any good software engineer will know that productivity shouldn't be measured be the amount of code someone can type in a given time period.
Also in the UK c# developers earn on average £5000 a year more than vb.net developers
Re: [RESOLVED] Newb and VB
Quote:
Originally Posted by
x-ice
Any good software engineer will know that productivity shouldn't be measured be the amount of code someone can type in a given time period.
And any rational human will know that the person who can do the same job in half the time is going to be more productive.
The pay differential exists to some extent in the US, as well. That's a real point, but it is based on myth rather than reality, and that myth should be stamped out. On the other hand, who am I to argue the point? I work for well below the industry average for any language, and do so for reasonably good reasons. If you are going to chase dollars, then you should learn C# until management morons figure out that they are being played.
Re: [RESOLVED] Newb and VB
I'll make one last point that will support my arguement. Option Explicit set to ON makes sure that all variables are explicitly declared. This is ON by default, but the whole idea that you CAN turn it off is absurd. Why would the designers of vb.net allow this? The only thing it encourages is bad programming.
And that (bad programming) is why vb.net developers do not get paid as much, because they generally are not as skilled as c# developers.