Tom,
You message remind me on a big computer company from the past (the biggest
you know this absolute as well like me), it was always the same, in version
3 they told that what other companies had was not the right solution.
In their version 4 they came with exactly the same like that other company,
and yes they had learned from some not so well done small things from the
other companies and made that in another way.
Could not resist to share my smile with you.
Cor
"Tom Shelton" wrote in message
qqq qqq used his keyboard to write :
Seriosuly... You are replying to a thread that ended 2 years ago? Oh,
well
What about this?
VB:
Dim a(5) as Integer
C#:
int[] a = new int[5];
var a = new int[5];
It is clear declaring arrays in VB requires less coding! (Why write int
twice!).
you don't have to.
If you are sick writing keywords like Dim, then I am sick writing
semicolon after each line!
waaaah.
Anyway, I don't agree that such very small partial comparisons make the
difference between the languages. In general VB is easier without any
doubt, and you can build applications more quickly.
Nope, not any more... The only place that could be argued was really
C#3 and below - because of the easier early binding for com interop
scenarios in VB.NET. That gap is now closed in C#4 - with the
inclusion of optional params and the dynamic type. In fact, I would
say that the implementation is superior, since you can restict dynamic
to a single variable rather than have to turn it off for a whole
module.
Yet C# could have some superior aspects over VB,
Yep.
but the advantages of C# over VB will not appear unless you are building
huge complex applications. Small to Medium applications of moderate
complexity are better performed by VB (Take less time and effort).
Nope.
However, If someone masters C#, he will find C# easier and more efficient.
And if someone masters VB, he will find VB easier and more efficient. What
I have talked about is for new programmers.
I have matered both - C# is easier and more efficient. Generally less
verbose, more power when needed, and uses the same dang framework as
vb. And in the rare case I need a vb function, I can just include a
reference to the vb runtime and call it.