Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic vs Visual C++ in object oriented programming 1

Status
Not open for further replies.

memaa

Programmer
Jul 18, 2002
1
US
I am looking for feedback on which language would be better suited to object oriented programming. We are a Microsoft shop and embarking on a rather large project. There is some bias towards each language and I am looking for some valid reasons for using either Visual Basic or Visual C++.

Any input would be appreciated.

Thanks
 
VB.Net supports OOP to the point where it isn't backward compatible (Scary)... and VB 6 will not be supported after 2008...

VB.Net supports multithreading and inheritance quite well.

C++ is all that and a bag of chips. :D Fast, and... fast. And you don't have to worry too much about backward compatibility, though portability can be an issue...

(Unless you use wxWindows - )

Dunno. I like C++, I'll stick with it - but the new VB is very OOP friendly.

And then there's Java and C#... CoolNameDenied
 
My $0.02...

If you're looking for complete OO then your choice between the two stated has to be C++. That's that out of the way.

There may be other considerations to bear in mind. What's your definition of, say, "Fast"? Speed of execution or speed of development. VB wins on development time unless you need to get deep into the operating system, in which case there may be a need to drop into C++. Unless you're looking at something unusual in requirements, like a mathematical simulation, execution speed is not likely to be an issue - any PC that can run a current operating system can run VB apps fast enough.

It's incorrect to describe VB6 as "interpreted". It's fully compiled these days but it's still slower than C++. Or Delphi, which is rather more VB-friendly (i.e. VB programmers can adapt). But that's not a Microsoft product.

It's also incorrect to restrict VB to front ends and GUIs: we have a substantial portfolio of VB DLLs running in MTS as the back end to a major system hooked up to Sybase. They all work just fine (more than I can say for Sybase!).

If your target OS environment is Win2K or greater, I'd go for .Net. Then your C++ guys can use a decent C-based OO language (C#) and the VB guys can move up to VB.Net. Neither of which can be acquired instantly but at least you're starting out with today's technology, not yesterday's.

As I said, my $0.02...

Mike
 
To give the thread a new twist: If you are going for dot net, you choose for Eiffel. It is the "highest" OO language around as far as I know it: it is fully OO and supports multtiple inheritance and parameter classes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top