quote:
Originally posted by CookieRevised
quote:
Originally posted by cooldude_i06
JScript is almost exactly like Javascript, and I think every programmer should have experience using javascript. Once you learn "real" languages like javascript, php, c++, java, etc.. you will find BASIC very annoying.
Basic IS a real language.... don't get me started on that....
BASIC is a real language, but it's completely different to most other programming languages. cooldude_06 explicitly put real between apostrophes, so stop attacking something he didn't even say
quote:
It is not because someone has problems with a new syntax that a language becomes useless or not good to teach programming.
It does actually. You wouldn't be using old-style C to teach proper object orientation, would you ?
quote:
It is NOT the used language which is the cause of bad programming behaviours!!!!!! (in fact I see just as much crap from other beginning programmers in other languages than Basic)....
Every beginning programmer has permission to write crap, that's one of the rights you have when you just start off. However, with BASIC, it's not just beginning programmers fucking up... I've seen incredibly bad code from self-proclaimed "programmers" using visual basic.
quote:
Oh, and VBScript would have been a more powerfull choice for a scripting language than JScript actually. Everything you can do in JScript you can do in VBScript and even more stuff... JScript doesn't even support different variable types (except a very few), not to mention it passes variables always by value, etc... etc... etc... If there is a 'bad' programming language to learn programming from it would be in fact JScript.
JScript *has* different variable types, but they're wrapped in a common variant-type. Try the "typeof" keyword.
You're also wrong about JScript not having ByRef types. It might not have a simple keyword like VBScript, but it surely is possible (especially with objects).
If you want to learn programming, I wouldn't recommend JScript or JavaScript, but rather C++. If you just want to learn scripting, and that's what this really is about, JScript would certainly be one of the choices among PHP and several others.
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.
quote:
(and it would be those exact c++ programmers who would be complaining if it was vbscript which was been choosen, because it would be them who wouldn't be used to the syntax instead. Would that make c++ a bad base to learn programming... I don't think so)
I wouldn't be complaining about the syntax. I, and I am sure most other C/C++ programmers, can get along quite fine in BASIC.
I wouldn't like it though, as I think JScript is so much more powerful (OO, need I say more?), and as I am convinced that Basic and all variants and dialects on it are the spawn of the devil...
Now stop advocating something not worth existing in the first place...