Discussion Locked

VB vs VC++

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Can someone give me a fair comparison between VB and VC++ as far as software development is concern. Specifically, major pros and cons on software build-up and maintainability

5 replies

by jackofalltech

VB makes it ridiculously easy to create Windows programs. With that ease however comes a tradeoff with power and speed and size. VC++ creates smaller, faster, more powerfull (intrinsically) programs but rather difficult to create. Borlands' C++ Builder is what VC should have been. Just as in VB, you can create the
form(s) with all the controls you need and just add the code necessary to handle the events for those objects. BCB takes care of all the behind the scenes runtime code as VB does but more efficiently.

Ralph

by martyrs_cry

VB is great for the beginner to learn and while I agree 110% with Ralph, it all depends on what you want to design software for. VB is excellent for database interaction (mysql, oracle etc) while vc++ is great for memory management and bit-by-bit handling and like Ralph stated, it is much faster in terms of execution than VB. VB has a bit of overhead for compiling simple programs.

by ekvinto

It's better to learn both VB and VC++. Much code is generated in VB behind the scenes. Sometimes VC++ can help to undrestand this behind the scenes code. Besides, VB and VC++ has different destinations(purposes).

by ram_cv

The first thing to understand when we talk about comparisons is to understand the primary reason for which the two languages have been created.

VC++ is specifically designed for Systems programming and is for applications that require control over programming constructs and memory usage.

VB is specifically designed to be a RAD (Rapid Application Development) tool and the aim of VB is to help programmers go ahead and create solutions without worrying about programming constructs and memoryusage.

With this backdrop we can now compare the two:
1) VC++ allows developers more control over programming constructs and data structures. It allows direct access to memory and hardware resources to some level.
VB on the other hand keeps the developers oblivious of the underlying intricacies and is majorly concerned only about the business logic.

2) VB as a RAD tool is much easier to learn and has an easy learning curve. VC on the other hand has a steep learning curve.

3) In VB it is easier to design forms and UI. Most VB applications are form driven. VC on the other hand is more for applications that are servers or back end applications. Most VC applications are for server side development.

This is just the tip of the iceberg in the comparison between the two. Hope this acts as a starting poing for you.

Cheers!
Ram

This discussion is closed to new replies.