TB, if you know as much of Basic as you know about C++ (and the likes, etc) I wouldnt be discussing this with you or wouldn't go deeper in on it. But the fact that I know you simply don't "like" Basic doesn't make Basic crap though. I deeply, very deeply, respect your knoweldge of C++, but for Basic I think you base your judgement a bit too much on "liking the syntax or not" than anything else...
VBscript can handle OO just as well as JScript does. As I said VBscript IS more powerfull than JScript and DOES know far more possebilities, types, etc... There is absolutely nothing 'dirty' about it. In fact, it's the opposite!! Todo in JScript what you can do in VBScript you actually need to revert to 'dirty' workarounds in JScript.
Also, the passing by reference in JScript for objects is even a 'dirty hack' on its own as it is in fact NOT passing objects by reference iether. But for convenience and easyness to explain it is said it does, as it is hard to explain otherwise. There are papers written about this and explaining this in very much details with technical details "from under the hood" and by those who actually were involved in creating the language and stuff. If I find those links again I'll post them.
quote:
Originally posted by TheBlasphemer
I would never recommend VBScript, VB, or BASIC for any other purpose than quick and dirty "programs" that have no need to be reliable whatsoever.
which is extremely and so typical to say from someone who swears with C++ like languages. (and I know you now gonna reply with
"and it is so typical to say that from someone who programs in Basic" ). Basic IS reliable, Basic IS good to learn programming as it has a very easy learning curve, Basic IS not dirty programming...
Again, it is NOT the language used which makes someone a bad habit programmer at all!
Note: I'm defending Basic in general, yes. But that does NOT mean I don't like C++ or any other language for that matter. I'm not the one who is pinned strait into a certain programming language and thinking all the rest is BS. It is not because a syntax is different in a certain language than what you're used to that the language is crap.
This is exactly the same as all those "C++ is holy"-people proclaiming for years that Basic doesn't even know pointers. This simply shows that those people don't even know what they're talking about as variable handling in basic is exactly based upon pointers and each and every variable you creat in basic IS actually a pointer...
You have every right to not like a language (aka the syntax), of course, that speaks for itself. But that doesn't mean that the language is crap, dirty, unreliable or whatever.
It is not because Basic is called "basic" that it is a "basic" language or it is not that the "b" stand for "beginners" that it is nothing worth. The very first basica versions might have been, but since then it has evolved into lots more and is far away from the stuff it was 30 years ago.
The ONLY thing you can say about Basic is that it, because of all the "blackmaking", it also attracts script-kiddies who proclaim themselfs "experts". And it are those crap codes from those script kiddies which makes Basic having a bad name. However that it not the fault of the language or its syntax but the fault of those stupid kiddies who think they can program when they can popup a box on the screen. This doesn't mean the language is crap, it means those kiddies are crap.