PDA

Click to See Complete Forum and Search --> : Why are you programming in VB


jeroenh
Oct 16th, 2000, 07:23 AM
I'm just a starter? in the world of programming and my first programming language was VBA and later VB6. I have never been busy to program with other programming languages.

I wonder if other people have worked with an other programming language, like C++ or Pascal, and who wants to point out to my why I should or shouldn't continue to program with VB.

What are the advantages of programming with for example C++. Can I do more stuff or just the same in an other way?

I'd like to know your personal favorite and why you did you choose it. :p:p:p:p:p:p:p:p:p;)

Fox
Oct 16th, 2000, 07:46 AM
I code in VB coz its veeeery easy ;) In C you have to do many things you can just let VB do... In fact VB is slower than C/C++ and isnt really a object orientated language (VB7 will be :)) and the biggest disadvantage: It doesnt support pointers (dunno if VB7 does). Well, Id say VB is fast enough if you make programs or small games. But if you really need performance you should step into C/C++.

Oct 16th, 2000, 12:23 PM
I don't know about what Fox said. I've seen real
performance defined in about 17 different ways, all of
which made sense, and none of which addressed the central
question of: Did the user get what they wanted. A lot of
the time the actual difference to the user is about
10seconds. Big Deal.

I use VB because its the 600lb gorilla. Same reason I used
QB, WS4, SAS, DBIII, and a host of others. You can spend
your life learning the languages, or you can do something
useful with what you got.

There is a lot of techno-snobbery (I just showed some
above). No programming language is useless and none will
be the end-all.

Good Luck
DerFarm

parksie
Oct 16th, 2000, 02:14 PM
Having used both VB and C++ extensively, the best way (at the moment) seems to be:

GUI in VB, speed-dependent or pointer-dependent code in a DLL. That way you get the best of both worlds, and easy upgradability at the same time.

HarryW
Oct 16th, 2000, 02:30 PM
How fast are DLL calls? Are they significantly slower than normal function calls?

parksie
Oct 16th, 2000, 02:33 PM
No. It takes a little longer first time round, since the DLL needs to be loaded into memory. However, they take the same time to execute due to a rather neat feature in the design of C (and consequently C++): function pointers allow you to hijack any code and call it as a function :cool:.

Oct 17th, 2000, 09:52 AM
Having learnt a little of C and done a few projects in Pascal (ordering system), I much prefer Visual Basic, due to its GUI interface and easy of use :).

Gen-X
Oct 18th, 2000, 07:42 PM
Rapid Development.

Quite simply the biggest reason to code in VB is the minimal amount of time it takes to get a lot of work done and with a fairly high level of efficiency and integrity.

Unless you are doing something that requires some serious number crunching, any general application type work is well suited to VB.