PDA

View Full Version : VB vs. BASIC



DavidP
07-02-2002, 10:56 AM
okay...I know this is a pretty trivial matter....but its just one of those pet peeves that I have...and we all have our pet peeves...

VB != language
VB == compiler
BASIC == language

Cruxus
07-02-2002, 11:23 AM
I usually think of Visual Basic as a programming language, a development environment, and a compiler because it is one complete, proprietary package from Microsoft. The Visual Basic language, in my opinion, is a variant of the Basic language, in so much as there is such an entity at all. The Visual Basic .NET language continues this divergence from the classic Basic development systems of fifteen or twenty years ago. It would be like calling C++, C#, or Java not a programming langauge of their own but, instead, different versions of the same C language.

Mario
07-02-2002, 11:30 AM
Programming Language: A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.

Therefore VB is a programming language.

moemen ahmed
07-02-2002, 11:46 AM
no doubt VB is a programming language, not a compiler, as its totally diffrent from basic........as it contains its own structure ad its own grammer and functions which r not found in basic ........

itsnt my opinion or others' opinion its just the FACT..........

Dual-Catfish
07-02-2002, 01:58 PM
Therefore VB is a programming language.
When you're programming in the Visual Basic IDE, you're actually programming in BASIC. At least that's how I've come to understand it.

TK
07-02-2002, 04:28 PM
I don't know if it is fair to equate MFC with C++, Microsoft has never proven that it is capable of writing a valid standard C++ compiler. Many C and C++ advocates do not support MFC because they say that it is poor OOP design.

The question to ask is who makes these things, and the answer is Microsoft. When you are a victom of this operating system the only thing that you can do is to do whatever they tell you to do, your choices are very limited.

Mario
07-02-2002, 05:13 PM
Originally posted by Dual-Catfish

When you're programming in the Visual Basic IDE, you're actually programming in BASIC. At least that's how I've come to understand it.

Not really. VB is much an extension of BASIC as C++ can be considered an extension of C... even more. Visual Basic has similar syntax. But the changes needed to accomodate a windows based event driven language, plus OOP support (laughable, mind you) does make VB a brand new language.

A programming language is not defined in terms of its compiler. I'm not sure if this statement is entirely correct, but what I mean is that changes in grammar and language structure (of which VB has plenty when compared to BASIC), no matter the compiler, constitute a new programming language... even if an interpreted one.

Otherwise it wouldn't make sense calling C++ a programming language.

DavidP
07-05-2002, 08:55 PM
Not really. VB is much an extension of BASIC as C++ can be considered an extension of C... even more. Visual Basic has similar syntax. But the changes needed to accomodate a windows based event driven language, plus OOP support (laughable, mind you) does make VB a brand new language.


Visual Basic is just BASIC with Windows libraries instead of DOS libraries. That is like calling the Win API a seperate language from C++. There are DOS and Windows API's for C++, and the same is for BASIC. Visual Basic uses Windows libraries. It is that simple...

It is still BASIC. It has all the BASIC keywords. It has the BASIC syntax. It is the BASIC language, just with Windows libraries.

It is just a change of libraries. It's almost like deleting the line

#include <dos.h>

in a C++ program and adding this line

#include <windows.h>

BASIC does have OOP, so dont say it was added in VB. Maybe earlier versions of BASIC compilers did not support it, but several later versions of BASIC compilers do, like QBasic 7.1 for example.

If you call VB a seperate language from BASIC, that is like calling Borland C++Builder seperate from C++. It just is not correct.

So therefore, VB is BASIC. Not its own language. Just uses Windows libraries. Plain and simple.