VB vs C++
First, I'd like to point out that I have been programming for 21 years in Basic, Assembly, C, C++, Pascal, Atlas, Visual Basic, and a couple of other proprietary ones whose names I don't even remember. I feel I can offer my experience on the differences between the languages with some degree of authority. I'd also like to point out that for most languages, the compiler and the language are separate entities. Also, there is the matter of the development environment. Some languages, like VB, the Integrated Development Environment (IDE), the compiler, and the language are inseparable. That is not the case with all languages. I have no beef with the C language. It's the compiler and IDE that is completely useless to me in its unnecessary intentional complexity. VB is a great language for several reasons. It is designed to be simple. It is designed to be easy to use. It is actually supposed to help you to do what you want. The IDE is well thought out and intuitive. These are not to be underestimated in their importance. One of the primary delays in creating a program is debugging. This is something that VB can do exceptionally well, better than any language/IDE I have ever seen, and I have seen a lot.
I took another speed hit for the ease of VB over C, same reason as you: It's worth it. Because there's only so many places where you'd need that word, and only so many words you can type there, and you've got a drop-down list that magically appears while you type, offering all the possibilities. Got a Boolean variable? "IsValid=T" and it's already saying "True". Duh, it aint gonna be false! Also, stuff like "stdio.h", seriously- how many programs do you write that don't have all that junk at the start? That's the stuff that's in the VB runtime, and it's always there, you don't have to ask "Please can I have something better than Cout? PrintF? Can I please do some, gee, I dunno, MATH???" If on the other hand, the code you write is so tight, it doesn't even use normal windows functions, you had to re-write the graphics routines to optimize them for your own needs, and consider the computer's memory to be your personal playground, well then no, VB will not do what you need to do. You should start looking at Assembly Language. Yesterday I had a 2D object that kept facing with it's polys the wrong way, so the camera couldn't see it. Where the hell is it? I drew a line to it. There it is! Then I added a line of code to flip the darn thing over! While running!!!
Some topics in this essay:
File Browse,
Easy Morfit,
PictureBoxes It's,
MATH VB,
Semicolons WTF,
VB C++,
Speed VB,
Slider_Scroll Don't,
Environment IDE,
VB It's,
don't care,
line code,
it's don't,
it's 0,
confusing unclear code,
code don't,
programs write,
development environment,
tell it's,
confusing unclear,
don't vb,
Join now to see the rest of the essay!
Approximate Word count = 2291
Approximate Pages = 9 (250 words per page double spaced)
|