Michael C said:
Possibly they know deep down that C# is the better choice.
You confirm here my first point, this wasn`t a posting with a valid question
it was again just bashing VB
C# the better choice ? for a Java , C++ and all other mathmetatical syntax
developers it is , for a logical syntax developer or annyone who likes a
RAD language VB is the better choice .
Personally i believe that VB developers are overall more modest an logical
thinking people , they can see that every language suits a certain need , we
are more multicultural in terms of programming languages
, however the
bashers that come by in this group seem to believe in only one super
language and everything else has no right of existence and is inferior .
Well the c# syntax there is clearly superior because you can do anything
you like. Step can be a log function if you want and you can increment 2
variables which often comes in handy, eg
int* ptr = GetSomePointer();
for (int i = 1; i <= 10; i += 2, ptr++)
You can also have the upper limit being another variable that changes
during the loop if you really wanted to. So basically the syntax is
significantly more powerful and is only a few chrs longer.
But the thing is with these kind of discussions is the VBers always pick
some of the rare places in C# where there is more typing. As a whole there
is simply a lot more typing in VB.
Huh ? wel for the sake of your case you forgot the other points i made like
"optional and named parameters "
cause you do not have a valid alternative, for optional you could have
argued that method overloading is the valid way to mimic the same behavior ,
however this costs a lot more typing and would be pathetic in contradiction
to your above argument, so good for you that you did not step in that trap
..
But a lot more typing in VB ? hmmmm
if (Object.ReferenceEquals(a, b))
{
// variables refer to the same instance
}
VS If a Is b Then
' variables refer to the same instance
End If
if ((a == null && b == null) || (a != null && b != null) && a.equals(b))
VSIf a = b Then
And about logic int [] ages = new int[n]; ( integer ages is new integer
in n dimensions )VS Dim ages(n) as Integer ( Ages in n dimensions as
integer ) why do i have to tell C# 2 times wich datatype or object type it
is dealling with ? Just some rare examples who seem to be not so rare do
they ? i can dig up a lot more if you want however honesty needs me to say
that i could also do the same against VB in favor of C#
and ofcourse if
() { }is a lot shorter as If () ThenEnd if
But the VB IDE team found something verry smart for that
, you only
type If () and press enter and the IDE does the rest , a true RAD language
in a true RAD environment by the way you can discuss whateveryou want about
the language but a true fact is that the IDE of VB is superior to that of C#
in every way That is also the reasson why VB was a bit behind on C# in some
new features as the 2 dev teams focussed on 2 different points , C# dev team
language enhancements , VB dev team getting all the nice features back that
the VB6 IDE already had ( background compilation , debug,pause , change and
continue without recompiling etc etc etc... ) and then enhance the IDE so it
has "more" to offer .>> IMHO :>> Both have there pro`s and con`s due to just
the simple fact that both dev >> teams give different priorities to some
implementations in the languages >> and syntaxtical> > The only real
advantage I can see with VB is the late binding office > automation thing.
I'm yet to try this to see what a real issue it is.yes indeed and all other
Automation , COM interop thingies especially when you want to use Late
bindingand ofcourse LINQ to XML wich is superior in VB at the moment and
................. >> but i do not need C# fanboys in the VB groups telling
me that VB is less >> mature as C# they are brothers of the same kind but
it is mostly the C# >> coder running around as Kaïn , in the end you
might kill us, but it is >> Abel who is and stays the most beloved in this
group> > Then don't read this thread. I was asking a valid question, with a
complex > linq query you have to write Function(i) over and over which is a
pain.> > Michael IMHO : And when i reread the thread and the responses from
my fellow peers your posting is interpreted as yetanother atack on the VB
comunity , the Title was enough for me to let me think "Oh no not again"
oh.. another thingy about VB developers in contradiction to "other" groups
we are pretty social peoplehere and like to keep the discussion nice and
with respect to each other . I hope you get my overall point i both
love VB and C# i just favor VB a bit more , i also wonder what will happen
if F# developers will behave how C# developers behave now towards VB
developers .That there are and will be differences between the diverse
languages is a common fact and as a smart developer once said "Language
choice is as much an emotional as a logical decision."RegardsMichel Posseth