Thread: Visualbasic
View Single Post
Old 06-10-2000, 12:04 PM   #9
Felix
Member (10 bit)
 
Join Date: Mar 1999
Location: Zurich, Switzerland
Posts: 797
Post

I agree with fred and jagdish.

I use VB for many small custom utilities. For my company I made a calculator with 15'000 lines of code. Though it is a great tool for windows apps I would prefer something other for web stuff. VB is great for database front ends, and hands down, what is computing nowadays other than database access? (ok, beside gaming and other time-critical apps)

One word to "VB does not allow you to do everything..!" -- A major difference between DOS based programming (C++, Qbasic) and Windows based programming (Visual C++, Visual Basic) is the way of the program flow: Within DOS based programming you have full control of the program flow even with Basic. Windows is different. It's not VB that doesn't give you full control - it's Windows itself, since Windows is "event-driven". All and everything causes windows events (i.e. clicking a button, moving the mouse somewhere and such) and since all those events can happen in a random order windows must handle the program flow different than DOS.

I think you can't judge between C and VB. Both have their advantages and it depends on what you are planning.

excerpt of Programmer's Quick Guide to the Languages

TASK: Shoot yourself in the foot.

C
You shoot yourself in the foot.

C++
You accidentally create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying, "That's me, over there."

Pascal
The compiler won't let you shoot yourself in the foot.

Assembler
You try to shoot yourself in the foot, only to discover you must first invent the gun, the bullet, the trigger, and your foot.

BASIC
Shoot yourself in the foot with a water pistol. On large systems, continue until entire lower body is waterlogged.

Visual Basic
You'll really only _appear_ to have shot yourself in the foot, but you'll have had so much fun doing it that you won't care.
Felix is offline   Reply With Quote