SA-MP Forums Archive
What programing would be easier to learn? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: What programing would be easier to learn? (/showthread.php?tid=595931)



What programing would be easier to learn? - ozm8ey - 10.12.2015

Would it me easier to learn how to code in pawn for samp or minecraft bukkit java plugins?


Re: What programing would be easier to learn? - Kaperstone - 10.12.2015

Pawn for samp


Re: What programing would be easier to learn? - StuartD - 10.12.2015

Once you learn one, it'll be easier to start with others, which would you prefer to start? Are you more passionate about SA-MP or Minecraft?


Re: What programing would be easier to learn? - ozm8ey - 10.12.2015

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Once you learn one, it'll be easier to start with others, which would you prefer to start? Are you more passionate about SA-MP or Minecraft?
Well I love both, I currently have a minecraft server because you don't need to know how to script, but been able to make your own unique plugins would be a bonus.


Re: What programing would be easier to learn? - Kaperstone - 10.12.2015

Quote:
Originally Posted by StuartD
Посмотреть сообщение
Once you learn one, it'll be easier to start with others
Not really, Java and Pawn differentiate a lot, be it by the code (OOP/FO) or how it works or compiles.


PAWN should be easier, because the function names are really obvious and you can control all the arrays.
What I mean with "control the arrays"
pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
You can see that x y and z will hold something and the name of the arrays will be x y z
in Java
PHP код:
var pos player.getPos(); 
Now you have pos.x pos.y pos.z and who made the function completely doesn't care if you like the x y z or maybe a b c is better for you.


OT: I still do agree that the thread starter should go with what he want to focus and advance more.


Re: What programing would be easier to learn? - ColonelBurton - 10.12.2015

Java, it's simple and easy to learn ... most universities and colleges use it today as Intro language to Programming...
Once you master it, everything else will be a piece of cake


Re: What programing would be easier to learn? - Sellize - 10.12.2015

I suggest learning programming logic by learning PAWN, after that you could try learning more useful languages. I heard C++ is very similair to PAWN


Re: What programing would be easier to learn? - BaDwolFFG - 10.12.2015

I prefer pawn for SA:MP than Java Script.


Re: What programing would be easier to learn? - graef - 10.12.2015

Start with pawn. That's easier scripting language, in my opinion., but once you learn it, you will got some strange to learn the other language:
Example

Код:
In C++:
void ThisisAfunction(int a)
{
    int b = a;
}

In Pawn:
ThisisAfunction(a)
{
    new b = a;
}



Re: What programing would be easier to learn? - FreAkeD - 10.12.2015

Quote:
Originally Posted by Sellize
Посмотреть сообщение
I suggest learning programming logic by learning PAWN, after that you could try learning more useful languages. I heard C++ is very similair to PAWN
You're right.

PAWN is something I went off to learn first. After that, I went and learned other programming languages. I found it much easier.