Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC.NET vs VB.NET Pin
devvvy5-Dec-02 3:20
devvvy5-Dec-02 3:20 
GeneralRe: VC.NET vs VB.NET Pin
Maximilien5-Dec-02 3:39
Maximilien5-Dec-02 3:39 
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 3:49
devvvy5-Dec-02 3:49 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 5:02
Daniel Turini5-Dec-02 5:02 
GeneralRe: VC.NET vs VB.NET Pin
Rickard Andersson205-Dec-02 3:58
Rickard Andersson205-Dec-02 3:58 
GeneralRe: VC.NET vs VB.NET Pin
Michael P Butler5-Dec-02 4:03
Michael P Butler5-Dec-02 4:03 
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 4:10
devvvy5-Dec-02 4:10 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 4:29
Daniel Turini5-Dec-02 4:29 
norm wrote:
where can i read up a lil more on how exactly is c# better than VB.NET?
I use both a lot, and I can say there are some strong points favorable to C# over VB.NET:

.C# has a much cleaner syntax. No legacy compatibility to concern about.
.It may seem stupid, but VB IDE has an auto-identing "feature" extremely annoying
.C# has the "using" statement for automatic destruction of IDisposable object instances. VB.NET code will need to use lots of Try/Catch code to do the same thing and is very probable having resource and memory leaks under it.
.C# can go "unsafe" and use pointer manipulation.
.C# can create more than one namespace per project.
.C# can control on code block basis, wether the integer arith. expressions are checked or not.
.C# can stack allocate arrays which will not be garbage collected
.By default, C# is type-safe (Option Strict On), and a clean syntax for type coercion. This is a thing VB programmers will have a hard time catching on.
.VB.NET has a very weird syntax for calling static class members
.VB.NET has two error handling models: some functions will raise errors, other exceptions. This leads to interesting bugs.
.Under C# you can have static class constructors. This can eliminate several "if x is Nothing" statements and reduce coding.
.Signed ("Strong Named") assemblies in C# can generate signed Interop assemblies right from the IDE when calling legacy COM code. Under VB.NET you'll have to resort to tlbimp.

I'm specially concerned about the C# audience and the VB.NET audience. The next version of C# has been already anounced with tons of nice and useful features, like templates, anonymous delegates and iterators. Nothing of these will be available to VB.NET soon, because it's too complicated for VB.NET programmers.


I see dumb people
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 4:38
devvvy5-Dec-02 4:38 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 4:52
Daniel Turini5-Dec-02 4:52 
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 4:55
devvvy5-Dec-02 4:55 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 4:59
Daniel Turini5-Dec-02 4:59 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 4:38
Daniel Turini5-Dec-02 4:38 
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 5:13
devvvy5-Dec-02 5:13 
GeneralRe: VC.NET vs VB.NET Pin
Daniel Turini5-Dec-02 6:06
Daniel Turini5-Dec-02 6:06 
GeneralRe: VC.NET vs VB.NET Pin
Christian Graus5-Dec-02 9:37
protectorChristian Graus5-Dec-02 9:37 
GeneralRe: VC.NET vs VB.NET Pin
devvvy5-Dec-02 9:51
devvvy5-Dec-02 9:51 
GeneralRe: VC.NET vs VB.NET Pin
Christian Graus5-Dec-02 10:54
protectorChristian Graus5-Dec-02 10:54 
QuestionMDI Pointers? Pin
Dov Sherman5-Dec-02 2:04
Dov Sherman5-Dec-02 2:04 
AnswerRe: MDI Pointers? Pin
Roger Allen5-Dec-02 3:22
Roger Allen5-Dec-02 3:22 
GeneralRe: MDI Pointers? Pin
Dov Sherman5-Dec-02 3:31
Dov Sherman5-Dec-02 3:31 
GeneralRe: MDI Pointers? Pin
S O S5-Dec-02 4:04
S O S5-Dec-02 4:04 
GeneralGuidelines about how to move programatically transparent images over a background bitmap Pin
Joan M5-Dec-02 1:10
professionalJoan M5-Dec-02 1:10 
GeneralRe: Guidelines about how to move programatically transparent images over a background bitmap Pin
Paul M Watt5-Dec-02 7:01
mentorPaul M Watt5-Dec-02 7:01 
QuestionIs upgrading to VC ++ 7 Worth it? Pin
Paul Evans5-Dec-02 0:43
Paul Evans5-Dec-02 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.