Which is better? Jass/WE

Which is better? JASS/WE

  • JASS

    Votes: 21 56.8%
  • World Editor

    Votes: 16 43.2%

  • Total voters
    37

xPheRe

New Member
Reaction score
43
The facts are:
- Lots of GUI people say GUI is better
- Some other GUI people say JASS is better but they are too afraid of it
- All JASS people say JASS is better when making a GREAT map
This leads to... JASS WINS! :D :D

skyrider123 said:
yes but in every tutorial it refers to GUI when describing what the JASS functions do so that is not always correct.
This is because the average warcraft mapper knows about GUI.
Won't it be much more difficult to refer to the related JASS function in every GUI tutorial?
 

uberfoop

~=Admiral Stukov=~
Reaction score
177
Grundy said:
Apparently, some people like memory leaks.
you realise, right, you can use custom scripts to remove leaks with gui?


GUI causes a load of memory leaks. Variables and re-using them without using JASS to clean them off. Certain actions regarding them. All of this builds up as you use a variable over and over again (which, in say an ability-related trigger means everytime you use the ability, you're adding a bit to the problem) until your game starts to lag.

only if u let it...
 

Vexorian

Why no custom sig?
Reaction score
187
Oh no, too much to say.

First of all. What's up with the Poll? World Editor VS JASS? JASS is the language used by World Editor to conmunicate to the game. It is possible to learn that language directly and use JASS directly. But World Editor and JASS aren't opposites in fact World Editor wouldn't exist without JASS.

If the real question is GUI vs JASS? well many people say that JASS is better because it can clean memory leaks or because it has local variables.


But actually the good thing about JASS, and the reason GUI sucks hard and must be removed from the phase of the earth. (Consider GUI usage an epidemy that only hurts wc3 modding conmunity) Is:


- That you can create your own Functions !

Yes, functions, you can devide and conquer with JASS, you can simplify a problem and devide it into parts with arguments and results.

GUI can only simulate this by using Run trigger and a lot of global variables, the problem is , obviously that triggers are threaded so a wait in a trigger that is executed by another won't change the execution of the other trigger.


Anyways:

whatever()

It means it is a function without arguments, if blizz didn't use () to differentiate you wouldn't now if you are calling a function or using a variable.

//========================

Note this: ANY THING after // is a comment, they are not meaning ful at all but just help to give the script some decoration or to add explanations. (So //=========== is not something you have to worry about at all)

.

The awful truth
GUI is just a tool that generates JASS scripts. So you are always using JASS, because of that you can't really hate JASS.

GUI triggers are converted into JASS, It would be a good idea to keep using that but The script generated by GUI trigger sucks, cause it uses bj functions instead of natives, and huge if then else structures inlined in another functions for conditions.

If GUI generated a good piece of code I wouldn't mind.

If anyone experienced a speed incrementation in his map after using the map optimizer with the obfuscation methods, the reason was that GUI is generally slower than JASS, my optimizer tries to replace code that was generated by GUI into a better JASS code.

Anyways, everything is converted to JASS by world editor including positions of units , items, and some of the destructables. IT seems that without JASS the game wouldn't be able to open your map.


Myths:
  • GUI is better because it is easier
  • JASS is better because it is more difficult
  • GUI is easier than JASS: Probably if you want to make small stuff, but if you want to make big things (for example the main feature of your map) JASS is much easier cause it simplifies your code
  • You can do everything in GUI: This might be true, but because you can make your own functions in JASS, it is generally much EASIER to make complex things in JASS than in GUI.
  • You need to know GUI before learning JASS: It is actually easier to learn JASS without knowing GUI, generally to learn JASS you have to unlearn plenty of things you learned in GUI cause they pollute your mind. That's the reason people that got a lot of experience in GUI might find JASS to not be usable enough.
  • You need to know programming to learn JASS: GUI is also a programming language. You can actually learn JASS at the same time you learn programming, and you can learn JASS alone, programming language will appear magically while you learn JASS.
  • You need to know XXXX programming language to learn JASS: This is not true at all.
  • A map is good because it wasn't made in JASS
  • A map is good because it was made in JASS
  • A map is good because it wasn't made in GUI
  • A map is good because it was made in GUI




Anyways having experience with other programming languages would help you learning JASS but it might also be a hazard cause you would find JASS to be really limited, luckily we managed to invent a dummy Object Oriented programming for JASS, and gamecache allows you to invent a lot of things like pointers and that stuff. Without GameCache JASS would be really limited (Anyways GUI has always much more limitations than JASS for obvious reasons)


The only JASS problems
  • You need memory: Yes, but there are ways to get rid of this problem for example using a Jass editor that has a function browser. Or do like me that always have common.j and blizzard.j open in notepad to browse the functions. Of course you need to have the Usual JASS syntax in your memory anyways, but it is not a hell of a problem cause you only need to know like 10 things like:
    • The control estructures (if then elseif else , loop exitwhen endloop)
    • How to declare a function
    • How to declare a global variable
    • How to declare a local variable
    • The operators
    • How to call a function
    • How to use the code type
  • World editor crashes when checking for errors sometimes, this is fixable byu using another program to check for syntax errors.
  • World editor is as good explaining your syntax errors as a confused drunk man: Yes, most of the times it points to the wrong line instead of the one with the error and sometimes confuses the error (for example it says: Expected ' when it meant Expected , . It also sometimes report thousands of errors inevery single line after the only line that has the error. Again using another syntax checker helps



By the way:
you realise, right, you can use custom scripts to remove leaks with gui?

But using the custom script: line is actually using JASS.
 

Grundy

Ultra Cool Member
Reaction score
35
vex can you point me in the right direction to where/how game caches can be used? jass.sourceforge.net isnt very helpful with game cache
 

Vexorian

Why no custom sig?
Reaction score
187
I would say wc3jass.com

I will soon update the manual. Like I will fix spelling errors in the type casting thing. Then will explain everything that is needed about gamecache and Finally the 'Unofficial Object Oriented JASS guide'
 

Sargon

New Member
Reaction score
83
Wow, Vex. You just shut down the debate right there. Damn.
 

DM Cross

You want to see a magic trick?
Reaction score
568
Finally! Was waiting for that, now stop arguing and go outside! :)
 

mase

____ ___ ____ __
Reaction score
154
Point taken and well every1 got ownd!
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
To the people who believe that noone would play warcraft without GUI, and the people who believe GUI wouldn't exist without JASS:
Wouldn't that actually be a paradox? Like "Which came first, the chicken, or the egg?" (No not GUI or JASS). I mean that they kind of depend on each other for warcraft maps to be made (For the most part). For example, very few people would have made maps without GUI, and therefore there would be almost no people playing custom games, and without JASS, Warcraft wouldn't function at all. So JASS>GUI.
 

mase

____ ___ ____ __
Reaction score
154
Darthfett said:
To the people who believe that noone would play warcraft without GUI, and the people who believe GUI wouldn't exist without JASS:
Wouldn't that actually be a paradox? Like "Which came first, the chicken, or the egg?" (No not GUI or JASS). I mean that they kind of depend on each other for warcraft maps to be made (For the most part). For example, very few people would have made maps without GUI, and therefore there would be almost no people playing custom games, and without JASS, Warcraft wouldn't function at all. So JASS>GUI.
Dude we figured that out and now we no that JASS is > k we found that out all thanx to Vex.
 

Pyromancer

New Member
Reaction score
16
sheesh, 8 pages, 110 posts (inclueding mine) and we got right to the place we where at in the beginning (i still dont agree, but what the heck).
man vex, that was powerful, you changed my, life, you have (if i had one) touched my heart

very nice post!
 

mase

____ ___ ____ __
Reaction score
154
Pyromancer said:
sheesh, 8 pages, 110 posts (inclueding mine) and we got right to the place we where at in the beginning (i still dont agree, but what the heck).
Ahh 8 pages, 110 posts all in 2 days! lol
 

mase

____ ___ ____ __
Reaction score
154
Pyromancer said:
sheesh, 8 pages, 110 posts (inclueding mine) and we got right to the place we where at in the beginning (i still dont agree, but what the heck).
man vex, that was powerful, you changed my, life, you have (if i had one) touched my heart

very nice post!
Lol ya thanx (just saw the edit)
 

mase

____ ___ ____ __
Reaction score
154
Pyromancer said:
i know, i wanted to know why skyrider123 lost rep, not that it matters, sigh....
Where are the ppls reps in their Profiles (Veiw Profile)?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top