- Joined
- Jan 24, 2009
- Messages
- 606
To recap, the major features are. . .
Modular approch to coding (can get code of external files).
Global creation anywhere outside of fuctions.
Multi line support for arguments.
That sounds owned
To recap, the major features are. . .
Modular approch to coding (can get code of external files).
Global creation anywhere outside of fuctions.
Multi line support for arguments.
The Global creation reminds me of vJASS if that's what you mean by that.
globals / endglobals
thing.Actually, they seem to have copied C in that it has to be:
JASS:if (bool) { //Soemthing. }
As in, required brackets. How annoying. Also, semicolons are the devil. They took the bad features of C and kept them. :/
Otherwise, good ol C (hopefully with structs included?).
Nice. But does it have structs?
Also, I know many people don't like semicolons and brackets, but they make code more organized.
Can we return arrays?
Can we take arrays?
It looks alot like Java... lol shuld've paid attention in my high school cs class...
It's just C-like syntax. Java uses C-like syntax and so do a bunch of other languages, including this new one.
Anyone know if we can declare variables anywhere within the function and have those variables retain scope for the block of code they are in? (vars inside while loops etc).
Furthermore, anyone know if we can choose how big we want the arrays to be? Like rather than the default array at 8k size, pick our own sizes?
Can we return arrays?
Can we take arrays?
The next interesting question would be pointers, but I doubt it ; |. Like, for example... have a true linked list with new and delete, lol... I know blizzard's not going to give us that kind of power : O.
Multi dimensional arrays?
These are all some interesting things..
Oh yes, namespaces? I sort of see files and I'm assuming each file is it's own namespace or w/e.
eh, so many questions ;o.
Im not interested in doing other stuff, only want to learn the Galaxy language. So, learning JASS will make the learning of Galaxy Language easyer? Or do I have to start from scratch when it comes out anyway?
Can we stop saying it looks like Java, and say it looks like C?
You know, the language it was based on..
The AP Comp Sci program in America and International focuses on one language and that is Java. So expect many people to assume the syntx looks like Java.
I find it funny that you ignore the ability to require other libraries, which in this case acts much like prioritization, except it also sorts the content of the libraries correctly, so that you can actually use required libraries. About those operators: I think Vex added += and the like to ZINC. ++ and -- need to die (i think its horrible syntax, just a bit better than && and ||). And you could never implement them properly in JASS.refusal to add priority to libraries, and ++ += and such
++ and -- need to die (i think its horrible syntax, just a bit better than && and ||). And you could never implement them properly in JASS.
++ and -- need to die (i think its horrible syntax, just a bit better than && and ||). And you could never implement them properly in JASS.
/\
/ch\
/eese\
\eqal/
\to/
\/
++
for list concatenationI find it funny that you ignore the ability to require other libraries, which in this case acts much like prioritization, except it also sorts the content of the libraries correctly
/* */
though.EDIT: Still no/* */
though.
//
lines in the WC3 code, if you wanted to put a header on your trigger, is the most annoying thing.That's SO annoying! Talk about a huge disappointment. Using all those//
lines in the WC3 code, if you wanted to put a header on your trigger, is the most annoying thing.
So, it seems Galaxy has pointers, and prototypes.
Also, for anyone wanting to screw around with the language, I made this: http://www.hiveworkshop.com/forums/tools-560/galaxy-language-file-notepad-160286/
I disagree, ++, -- are immensely useful, especially in loops. I also happen to like && and ||, although I admit using the words "and" and "or" is probably much more clear.
x = x + 1;
turns into:
mov eax, _x
add eax, 1
mov _x, eax
while
x++;
turns into:
mov eax, _x
inc eax
mov _x, eax