|
Post by hartnell on Nov 13, 2006 2:45:59 GMT -5
Remove JScript support.
This is a big change so I don't expect to be considered (and I won't be offended if it isn't).
It's sure to speed things up and having two syntaxes sucks for documentation. Imaging this noob conversation
NoobA: How do I do (insert noob question here)?
NoobB: (gives Noob code in VBS.
NoobA: Ack! I only understand JScript!
-hartnell
|
|
|
Post by Guilect on Nov 13, 2006 7:17:54 GMT -5
The JScript ability comes free with using VBScript. The documentation for JScript is a mere mention. All the commands added by Brutus2D are the same for either language style. And it might be of use as a learning tool for someone going from BASIC-like syntax to JavaScript syntax.
Early on in the development of Brutus2D, one user asked to have it added, so it was. Now one user is asking for it to be removed.
Looks like a tie score right now.
Anyone else have a take on this?
|
|
|
Post by u9 on Nov 13, 2006 8:59:54 GMT -5
I must say I would recommend keeping it. Personally I think it is a much nicer and cleaner syntax, and as you say, there is no maintenance involved. There is only one small example in the examples folder I think, and I feel that anyone able to program in JScript will also be able to transfer code to/from VBScript.
I haven't used JScript yet, only some very small tests, but I would like to try. Another pro for keeping the JScript syntax is that Brutus2D will be easier to use for anyone coming from Javascript, php, C, Java etc. Such people can jump right in without any hassle. I don't know if anyone has done so yet, but keeping the option open is a good idea. If you just get one single user I might have been worth it, who knows.
I don't think it will "split" your user base. There was/is a similar discussion(s) on PureBasic's forum where there are many anti-OOP people. They feel very strongly against PB showing any support for objects at all, and one of their arguments is that it will split their user-base. I think it is rubbish.
|
|
|
Post by u9 on Nov 13, 2006 9:05:07 GMT -5
[...] Imaging this noob conversation NoobA: How do I do (insert noob question here)? NoobB: (gives Noob code in VBS. NoobA: Ack! I only understand JScript! -hartnell About this "conversation". You see these two people wouldn't be able to "talk together" anyways. But I don't think it would be a good idea to turn one of them away from Brutus2D though. Also, they could both get help with any translating needed. This brings me to another question. Guilect, is it possible to mix JScript and VBScript in a game? So if two programmers worked together on a project one using VBScript and one using JScirpt?
|
|
|
Post by Guilect on Nov 13, 2006 9:43:58 GMT -5
It is one or the other, not mixed.
|
|
|
Post by OddChild on Nov 13, 2006 10:44:37 GMT -5
Does anyone know if the next version of windows has vbscript? i dont think it has it supported... as microsoft abandoned vbscript.com
|
|
|
Post by Guilect on Nov 13, 2006 11:50:57 GMT -5
While I could not quickly find a document that says that MS will or will not have vbscript in Vista; I can not imagine that it would not be there. There are so many webpages that use it that would break if it were not in Vista. While MS might be trying to promote Perl or PerlScript, I think that they need to keep Vista backwards compatible. FYI Here is Microsoft's scripting support page: www.microsoft.com/technet/scriptcenter/default.mspx
|
|