The Great Coding Debate. C# Vs. VB

Posts 1–15 of 75 · Page 1 of 5
The Great Coding Debate. C# Vs. VB
I'm making this topic cause i see a lot of people over the vast thing we call the internet. Arguing about which of the two are better and function better, I personally know how i feel but i wanna hear other peoples views on it.

I know im a C# guy for many reasons, One of which it is easier to move from C# to C++ then from VB to C++. It also is in my mind easier to understand and grasp the concept of then VB.

What do you guys think?

P.S. You cant add polls on this forum or am i dumb.
It's no that great of a debate. They are nearly identical. There is pretty much nothing you can make in VB that you can't make in C# and vice versa. Personally I prefer C#, but that isn't because of performance/functionality differences, I just like C# better.
inb4 VirtualDUDE

in all seriousness, C# and VB at the end of the day are essentially the same, .NET. Different code, same applications?
I think of it as a debate because of all the fighting about it, and people thinking one is better. I know both are same just that different styles, And functionality for certain things.
A solution, do not use .NET !!
Use .NET it pwns!

I like C# better because the syntax is aestetically pleasing to me, i think the VB syntax looks like shit. Its like:

adljfodshfoewhsddjhfierrhfdsjnknvinasfd()
hdhjaodhfdjlfewoifhdjfkljasbvnjahiuerhf()

/schwarzenegger voice
/stallone voice

Also i think VirtualDUDE Rage Quit.
Quote Originally Posted by cfsharp View Post
i think the VB syntax looks like shit. Its like:
adljfodshfoewhsddjhfierrhfdsjnknvinasfd()
hdhjaodhfdjlfewoifhdjfkljasbvnjahiuerhf()
Erm, what? Have you ever opened VB?
Quote Originally Posted by Jason View Post


Erm, what? Have you ever opened VB?
I know it's not exactly like that but thats just what my brain sees it as. Lemme make it easer to visualize what my brain sees.

C#:


VB:
I don't like VB cause its almost 99% text based like

Private sub blah
dim int = 0;
end sub

to me it looks like

fdgdsfgsdfg
sdfgsdgsd
sfgsdgsd

i need my Brackets {} I <3 them so
Quote Originally Posted by Kantanomo View Post
I don't like VB cause its almost 99% text based like

Private sub blah
dim int = 0;
end sub

to me it looks like

fdgdsfgsdfg
sdfgsdgsd
sfgsdgsd

i need my Brackets {} I <3 them so
really? to me it looks like english, and if you read english text like

fdgdsfgsdfg
sdfgsdgsd
sfgsdgsd

i think you should get some eyes checked
Quote Originally Posted by Kantanomo View Post
I don't like VB cause its almost 99% text based like

Private sub blah
dim int = 0;
end sub

to me it looks like

fdgdsfgsdfg
sdfgsdgsd
sfgsdgsd

i need my Brackets {} I <3 them so
Meh, curly brackets get annoying.
Like this:

[highlight=C#]
//
}
}
}
}
}
[/highlight]

And it's really easy to forget one and not realize.
Quote Originally Posted by Jason View Post


Meh, curly brackets get annoying.
Like this:

[highlight=C#]
//
}
}
}
}
}
[/highlight]

And it's really easy to forget one and not realize.
Thats why you use an IDE, it tells you if you missed one or not.
Quote Originally Posted by Jason View Post


Meh, curly brackets get annoying.
Like this:

[highlight=C#]
//
}
}
}
}
}
[/highlight]

And it's really easy to forget one and not realize.
forgetting to add } is like forgetting to add End or whatever, so i guess same for both. Though when you build it, it will tell you where it is missing?
Quote Originally Posted by Auxilium View Post


forgetting to add } is like forgetting to add End or whatever, so i guess same for both. Though when you build it, it will tell you where it is missing?
Yes, but in VB the closing parts have keywords like...

[highlight=vb.net]
'
End If
End Using
End While
End Function
[/highlight]

So if you forget one at least you don't have to scroll up to see what opened each of the curly brackets. But meh, as I said, I like C#
Code:
Private void DestroyVB(bool Destroy)
{
   if(Destroy)
    {
       File.Delete("VB");
     }
}
Win.

I wanna see some one go from VB to C++ without having the Shit confused out of them.
Posts 1–15 of 75 · Page 1 of 5

Post a Reply

Tags for this Thread

None

Talk with us