Argonath RPG - A World of its own
GTA:SA => SA:MP - San Andreas Multiplayer => SA:MP General => Topic started by: PSVITA on July 13, 2012, 08:43:31 am
-
I always wanted to know..where does scripters learn how to script? I was thinking about learning myself..Thanx :)
-
For SA:MP you can check the SA:MP wiki for all scripting commands.
Then download some public scripts from the SA:MP forum and try to understand what every single line does.
After that you can attempt to write your own.
When compiling a script, you will see at which lines there are errors or warnings.
The idea is that a script should have 0 errors and 0 warnings to be good.
It might work with warnings, but as a warning can have unwanted effects its best to remove them.
-
Thanx:)...Im going to start practising..Heard that its tough though lol :help:
-
At first I didn't understand anything about the codes etc. Then I checked Youtube videos, the wiki scripting functions and started practising myself. It's a lot more easy when you practice and fix any errors when compiling. Also you can ask questions on the SA-MP forum if you are confused about anything.
-
At first I didn't understand anything about the codes etc. Then I checked Youtube videos, the wiki scripting functions and started practising myself. It's a lot more easy when you practice and fix any errors when compiling. Also you can ask questions on the SA-MP forum if you are confused about anything.
Yeah at first it looks very confusing lol but im going to try youtube tutorials and wiki
Btw when im good enough how do i apply as a scripter?
-
I'm sure that if the community was in need o scripters they would let us know.
I doubt a need for more scripters will come to existance though since the current scripters are active.
-
Damn..there goes my dreams lol :mad:
-
Damn..there goes my dreams lol :mad:
Dont let it crush your dreams. If you are serious about learning to script, there is alot of stuff you need to learn and it dosen't take a couple of days to reach perfection.
I'm a fairly good SA:MP scripter myself, and it has taken me 2 years to reach where i'm now. I'm currently scripting with ZCMD, sscanf and mysql involved and it has taken alot of training to learn the mysql part. I'm not at the same level as Conroy and Gimli, but i have done some scripts which even impressed them during my learning period, and i have even released a script on SA:MP forum. I have done several scripts which i haven't finished yet, including a RP gamemode which currently is on around 8k lines.
Give yourself time to learn, dont quit because you get frustrated on a problem (belive me, i have been close on doing it myself, been trying for a week to fix a bug which turned out that i wrote in wrong coordinates..) and you will grow more and more experienced in scripting. :)
-
If you want to be a part of the script team, send a forum PM to Gimli, I'm sure he could use the extra help.. But yeah I tried to learn a bit of SA:MP scripting but I gave up, mainly because of the lack of interest.. IMO, it's the scripting language that's the hard part, once you understand it, it's easy sailing.
-
To become a scripter for Argonath requires more than just learning PAWNO or even being good at it.
What we need is not that you are able to make things shown on SA:MP forums, but that you are able to make what is thought to be impossible there.
You will have to know about the impact of a script to the FPS of the server, how heavy it becomes when 200 players use it at the same time, and most of all how to prevent it from becoming a free advantage for 'smart' users. Within the limits of SA:MP you have to find new and better ways of ding things.
And during all of this you will be restricted by owners who feel things might be too inaccurate, followed by players pushing their ideas, shitted on for every small error or restart and never get the credit you feel you deserve for all the long nights you sat removing that little bug instead of doing your study or job.
Sure from the outside of the mirror it looks like you will be a God. From the inside you wil feel more its more like reversing the letters (doG).
Are you up to it? Then start on the long road.
-
How does one start on this long road and get noticed for his interest?
-
alright, time to get rid of the 12 warnings I got in my script :D
-
Dont let it crush your dreams. If you are serious about learning to script, there is alot of stuff you need to learn and it dosen't take a couple of days to reach perfection.
I'm a fairly good SA:MP scripter myself, and it has taken me 2 years to reach where i'm now. I'm currently scripting with ZCMD, sscanf and mysql involved and it has taken alot of training to learn the mysql part. I'm not at the same level as Conroy and Gimli, but i have done some scripts which even impressed them during my learning period, and i have even released a script on SA:MP forum. I have done several scripts which i haven't finished yet, including a RP gamemode which currently is on around 8k lines.
Give yourself time to learn, dont quit because you get frustrated on a problem (belive me, i have been close on doing it myself, been trying for a week to fix a bug which turned out that i wrote in wrong coordinates..) and you will grow more and more experienced in scripting. :)
I guess we all got to start somewhere :)
I will start with the basics and search the net if i get stuck or something..I just hope in 2 years time Argonath will be much bigger and will not close down or anything cause I only play on the Argonath server :lol:
If you want to be a part of the script team, send a forum PM to Gimli, I'm sure he could use the extra help.. But yeah I tried to learn a bit of SA:MP scripting but I gave up, mainly because of the lack of interest.. IMO, it's the scripting language that's the hard part, once you understand it, it's easy sailing.
Thanx..When I'm good at it I will give him a pm :)
To become a scripter for Argonath requires more than just learning PAWNO or even being good at it.
What we need is not that you are able to make things shown on SA:MP forums, but that you are able to make what is thought to be impossible there.
You will have to know about the impact of a script to the FPS of the server, how heavy it becomes when 200 players use it at the same time, and most of all how to prevent it from becoming a free advantage for 'smart' users. Within the limits of SA:MP you have to find new and better ways of ding things.
And during all of this you will be restricted by owners who feel things might be too inaccurate, followed by players pushing their ideas, shitted on for every small error or restart and never get the credit you feel you deserve for all the long nights you sat removing that little bug instead of doing your study or job.
Sure from the outside of the mirror it looks like you will be a God. From the inside you wil feel more its more like reversing the letters (doG).
Are you up to it? Then start on the long road.
Thanx for the info..And here i thought knowing the basics are good enough l0l :hit: But I guess it will take me very long to get to where the current scripters are..I'm only 16 though so I only have school so I guess I have alot of time on my hands :D
-
Thanx for the info..And here i thought knowing the basics are good enough l0l :hit: But I guess it will take me very long to get to where the current scripters are..I'm only 16 though so I only have school so I guess I have alot of time on my hands :D
It is often hard work to make things look simple. :D
-
It is often hard work to make things look simple. :D
Lol..Very hard work :rofl:
-
My own tip would be not to learn from large scripts, especially old ones, as they will be very confusing for a first timer. Old scripts of course will use old/slow methods. You would not want pick up others habits either.
If you were post this question on the SA-MP forum, I can guarantee they would suggest you to download a heavily edited script, usually one stemming from Pen1 for example Godfather. These are too old especially Pen1 which is still available that takes a lot of work to get running and then to continue fixing.
Also worth a mention both of those have a serious login bug.
-
You must also be interested in sheep to become an Argonath scripter, especially for SA:MP :rofl:
As for how I learned scripting...
I've always been interested in computers since I was little, and when I got into secondary school, my computing teacher taught the class how to do basic HTML and I found it fascinating that what I type can be displayed on a web page
I think I was the only person who enjoyed it, I was the nerd of the class
Anyway, we moved onto programming in Visual Basic, it was a lot harder than making web pages but I found it more enjoyable
Although a programmer shouldn't compare programming to web development, I feel web development is limited to the browsers capabilities, whereas programming with Visual Basic or other languages is limited to the operating system
Anyway, we continued Visual Basic and I started learning more and more, starting with the classical "Hello world!" to being able to validate user inputs
At my last year of high school, my class got mixed with the year below us because there wasn't a lot of people in my year, and I was lucky enough to sit next to someone else who enjoyed programming
We used to compete against each other, who could create a program in the least amount of time while still maintaining efficiency
By this time my knowledge of Visual Basic was pretty good, so I would be making programs such as snakes and ladders, where everything was fully animated
One of my courses involved voluntary work, so I decided to help out my computing teacher and taught some of the younger kids how to program is Visual Basic
I don't think they found it as interested as I did when I was in their seat, but I enjoyed teaching it nonetheless
The final project in computing is what is graded and put towards your final mark, it counts as 30% of the exam so doing good in it eases off the pressure
Everyone who was doing my computing course was given the same task
The task involves a company who are looking for a program to be written, you must plan, design, implement and test it within the time limit
If I remember correctly, the program was to take inputs of computer specifications, work out a rating for each computer (based of their specifications) and display a sorted list of the computers from the highest rating down to the lowest rating
The time limit was 2 weeks
I planned it all out in 30 minutes, designed it in 20 minutes, and it only took a few hours to implement
Testing was probably the longest part, it took a few days, but I managed to get the program finished and in fully working order within half of the time needed
I got the highest marks in my school and got 1st in computing certificate at prize giving
During my time at school, I used to come home and practice programming
Almost every night I would spend a few hours programming in Visual Basic until I felt confident with it
I moved onto other languages, including C#, which at first was really confusing and I didn't know much about it
But, I remembered what I had done at school: A first, Visual Basic was hard, but starting off with the easy stuff, it was really easy to learn
So, I started off with "Hello world!", kept practising, kept reading notes off the internet, kept watching video tutorials on youtube and most importantly, didn't give up
I used to play Emergency 4, and on one of the fan forums there was a section for modifications
I downloaded a few and found out that I had to manually install all of the files, a real pain in the ass
Having some knowledge of C#, I played about with it until I managed to create a program which installed all the files, it was pretty cool
As I learned more of C#, my installer became a downloader, where it would search on my web server for the latest version of the files, check which version was installed, and update accordingly
I don't tend to use C# much now, but it was an interesting language to play about with - I think it's good for game development, but I didn't try that part out
Also while I was at school, I played SA:MP, including Argonath, and when I found out about the samp wiki, I read about all the types of functions I thought it was really cool that you could control players etc.
Again, guess what? I started with the basic "Hello world!", managed to print it out to the console and also to players in game, then I kept learning, kept reading, kept practising
I posted a few things on the SA:MP forum, that was a mistake... You will quickly find out that the people on there have jumped straight into SA:MP scripting without any previous knowledge of programming, they ask stupid questions and get stupid answers
I joined a SA:MP community and started scripting for them, I didn't get far before it shut down, but I still learned how to be a good developer in a community
I was lucky enough to get a place in the Argonath development team, they have good features and a really friendly community
That's pretty much my story about my starting life as a programmer, I started off with the basics and advanced on to the more difficult languages
Pawn isn't that difficult, maybe at first, but when you know the basics it is pretty simple
My advice to you: If you want to take programming seriously then I suggest you take a look at more simple languages such as Visual Basic.. it will teach you the basics of string functions, math and most importantly, the structuring of your code
Then, when you feel confident, read over the SA:MP wiki, get used to the functions, then mess around in an empty script, I really don't suggest downloading scripts from other people because everyone was their own style of programming
For example, looking through xcasio's code, it looks completely different than mine - same language, but different style
While learning Visual Basic, you should read up on important factors such as the readability of your code, how to maintain it and most importantly, if it's fit for purpose
Have fun reading, my PM is open for any questions you may have
-
I thought you only knew DM. :D
-
I thought you only knew DM. :D
:lol:
-
That too I guess
-
My own tip would be not to learn from large scripts, especially old ones, as they will be very confusing for a first timer. Old scripts of course will use old/slow methods. You would not want pick up others habits either.
If you were post this question on the SA-MP forum, I can guarantee they would suggest you to download a heavily edited script, usually one stemming from Pen1 for example Godfather. These are too old especially Pen1 which is still available that takes a lot of work to get running and then to continue fixing.
Also worth a mention both of those have a serious login bug.
Lol I never even heard of those scripts :(
You must also be interested in sheep to become an Argonath scripter, especially for SA:MP :rofl:
As for how I learned scripting...
I've always been interested in computers since I was little, and when I got into secondary school, my computing teacher taught the class how to do basic HTML and I found it fascinating that what I type can be displayed on a web page
I think I was the only person who enjoyed it, I was the nerd of the class
Anyway, we moved onto programming in Visual Basic, it was a lot harder than making web pages but I found it more enjoyable
Although a programmer shouldn't compare programming to web development, I feel web development is limited to the browsers capabilities, whereas programming with Visual Basic or other languages is limited to the operating system
Anyway, we continued Visual Basic and I started learning more and more, starting with the classical "Hello world!" to being able to validate user inputs
At my last year of high school, my class got mixed with the year below us because there wasn't a lot of people in my year, and I was lucky enough to sit next to someone else who enjoyed programming
We used to compete against each other, who could create a program in the least amount of time while still maintaining efficiency
By this time my knowledge of Visual Basic was pretty good, so I would be making programs such as snakes and ladders, where everything was fully animated
One of my courses involved voluntary work, so I decided to help out my computing teacher and taught some of the younger kids how to program is Visual Basic
I don't think they found it as interested as I did when I was in their seat, but I enjoyed teaching it nonetheless
The final project in computing is what is graded and put towards your final mark, it counts as 30% of the exam so doing good in it eases off the pressure
Everyone who was doing my computing course was given the same task
The task involves a company who are looking for a program to be written, you must plan, design, implement and test it within the time limit
If I remember correctly, the program was to take inputs of computer specifications, work out a rating for each computer (based of their specifications) and display a sorted list of the computers from the highest rating down to the lowest rating
The time limit was 2 weeks
I planned it all out in 30 minutes, designed it in 20 minutes, and it only took a few hours to implement
Testing was probably the longest part, it took a few days, but I managed to get the program finished and in fully working order within half of the time needed
I got the highest marks in my school and got 1st in computing certificate at prize giving
During my time at school, I used to come home and practice programming
Almost every night I would spend a few hours programming in Visual Basic until I felt confident with it
I moved onto other languages, including C#, which at first was really confusing and I didn't know much about it
But, I remembered what I had done at school: A first, Visual Basic was hard, but starting off with the easy stuff, it was really easy to learn
So, I started off with "Hello world!", kept practising, kept reading notes off the internet, kept watching video tutorials on youtube and most importantly, didn't give up
I used to play Emergency 4, and on one of the fan forums there was a section for modifications
I downloaded a few and found out that I had to manually install all of the files, a real pain in the ass
Having some knowledge of C#, I played about with it until I managed to create a program which installed all the files, it was pretty cool
As I learned more of C#, my installer became a downloader, where it would search on my web server for the latest version of the files, check which version was installed, and update accordingly
I don't tend to use C# much now, but it was an interesting language to play about with - I think it's good for game development, but I didn't try that part out
Also while I was at school, I played SA:MP, including Argonath, and when I found out about the samp wiki, I read about all the types of functions I thought it was really cool that you could control players etc.
Again, guess what? I started with the basic "Hello world!", managed to print it out to the console and also to players in game, then I kept learning, kept reading, kept practising
I posted a few things on the SA:MP forum, that was a mistake... You will quickly find out that the people on there have jumped straight into SA:MP scripting without any previous knowledge of programming, they ask stupid questions and get stupid answers
I joined a SA:MP community and started scripting for them, I didn't get far before it shut down, but I still learned how to be a good developer in a community
I was lucky enough to get a place in the Argonath development team, they have good features and a really friendly community
That's pretty much my story about my starting life as a programmer, I started off with the basics and advanced on to the more difficult languages
Pawn isn't that difficult, maybe at first, but when you know the basics it is pretty simple
My advice to you: If you want to take programming seriously then I suggest you take a look at more simple languages such as Visual Basic.. it will teach you the basics of string functions, math and most importantly, the structuring of your code
Then, when you feel confident, read over the SA:MP wiki, get used to the functions, then mess around in an empty script, I really don't suggest downloading scripts from other people because everyone was their own style of programming
For example, looking through xcasio's code, it looks completely different than mine - same language, but different style
While learning Visual Basic, you should read up on important factors such as the readability of your code, how to maintain it and most importantly, if it's fit for purpose
Have fun reading, my PM is open for any questions you may have
Thank You for taking your time to tell me all this..I want to script because im interested in these things and im sure i'll enjoy it..I guess i will start with Visual Basic (although its not actually basic :rofl:)..Thanx for the advice :)...Oh and congratz on that award at prize giving..Maybe givingit to me?! :rofl:
-
Lol I never even heard of those scripts :(
They were once servers which originated from 0.1b
-
They were once servers which originated from 0.1b
Damn..I got alot to catch up on!
-
For SA:MP you can check the SA:MP wiki for all scripting commands.
Then download some public scripts from the SA:MP forum and try to understand what every single line does.
After that you can attempt to write your own.
When compiling a script, you will see at which lines there are errors or warnings.
The idea is that a script should have 0 errors and 0 warnings to be good.
It might work with warnings, but as a warning can have unwanted effects its best to remove them.
That's what I did basically...
To become a scripter for Argonath requires more than just learning PAWNO or even being good at it.
What we need is not that you are able to make things shown on SA:MP forums, but that you are able to make what is thought to be impossible there.
You will have to know about the impact of a script to the FPS of the server, how heavy it becomes when 200 players use it at the same time, and most of all how to prevent it from becoming a free advantage for 'smart' users. Within the limits of SA:MP you have to find new and better ways of ding things.
And during all of this you will be restricted by owners who feel things might be too inaccurate, followed by players pushing their ideas, shitted on for every small error or restart and never get the credit you feel you deserve for all the long nights you sat removing that little bug instead of doing your study or job.
Sure from the outside of the mirror it looks like you will be a God. From the inside you wil feel more its more like reversing the letters (doG).
Are you up to it? Then start on the long road.
There can't be more true words than these.
To learn to script, I downloaded a script and my curiosity did the rest. After some time of screwing things up and learning what the lines does with help of the SA:MP Wiki, I learned the basics and well I think we all know what happened next. After that, two years passed until i was offered with the chance to Script here. My tip to you: be curious, don't do something if you don't want to, however if it interests you, if you like it, if you want to do it, even if you're lazy, you'll be allowed to do it. The curiosity of men is the most important thing the humanity has ever done.
-
I thought you only knew DM. :D
No dutchy, he learnt that from his mentor, Xcasio. ;)
-
Its easy and yeah i learn it from youtube :lol:
alittle afk script lol,
//AFK BRB AFKLIST
new BRB[MAX_PLAYERS];
new AFK[MAX_PLAYERS];
new sendername[MAX_PLAYER_NAME];
new string[256];
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_BRIGHTRED 0xFF0000AA
//======================================
public OnPlayerConnect(playerid)
{
BRB[playerid] = 0;
AFK[playerid] = 0;
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
//-------------------------[Afklist]---------------------------------------------
if(strcmp(cmdtext, "/afklist", true) == 0)
{
SendClientMessage(playerid,COLOR_WHITE,"AFK players:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(BRB == 1 || AFK == 1)
{
GetPlayerName(i,sendername,sizeof(sendername));
format(string,256,"Name: %s || Player ID: %i",sendername,i);
SendClientMessage(playerid,COLOR_WHITE,string);
}
}
}
return 1;
}
//------------------------[BRB]--------------------------------------------------
if(strcmp(cmdtext, "/brb", true) == 0) {
if(BRB[playerid] == 0 && AFK[playerid] == 0)
{
new str[256];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(str, sizeof(str), "INFO: %s will be right back! (/afklist)", sendername);
SendClientMessageToAll(COLOR_ORANGE, str);
SendClientMessage(playerid, COLOR_WHITE, "You are in different virtual world. Type /back to return.");
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerid) + 210);
BRB[playerid] = 1;
AFK[playerid] = 0;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are already in away from keyboard mode. Type /back.");
return 1;
}
}
//------------------------[Back]--------------------------------------------------
if(strcmp(cmdtext, "/back", true) == 0)
{
if(BRB[playerid] == 1 || AFK[playerid] == 1)
{
new str[256];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(str, sizeof(str), "INFO: %s is back", sendername);
SendClientMessageToAll(COLOR_GREEN, str);
SetPlayerVirtualWorld(playerid, 0);
BRB[playerid] = 0;
AFK[playerid] = 0;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are not in away from keyboard mode");
return 1;
}
}
//------------------------[AFK]--------------------------------------------------
if(strcmp(cmdtext, "/afk", true) == 0)
{
if(BRB[playerid] == 0 && AFK[playerid] == 0)
{
new str[256];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(str, sizeof(str), "INFO: %s is away from keyboard (/afklist)", sendername);
SendClientMessageToAll(COLOR_BRIGHTRED, str);
SendClientMessage(playerid, COLOR_WHITE, "You are in different virtual world. Type /back to return.");
SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(playerid) + 123);
BRB[playerid] = 0;
AFK[playerid] = 1;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "You are already in away from keyboard mode. Type /back.");
return 1;
}
}
return 0;
}
-
Its easy and yeah i learn it from youtube :lol:
alittle afk script lol,
http://forum.sa-mp.com/showthread.php?t=357700&highlight=Simple+AFK%2FBRB+System (http://forum.sa-mp.com/showthread.php?t=357700&highlight=Simple+AFK%2FBRB+System)
-
Nice try, but I believe that script is uploaded somewhere else
Shit efficiency, arrays are far too big.. the maximum client message is 128 characters, but arrays are being declared with 256 cells, that's a waste of 128 cells
Declaring a global variable and then using local variables in every command, another 256 cells being wasted
Next time you copy and paste, make sure the code is up to standard
-
All I have to say is...
Busted.
-
Nice try, but I believe that script is uploaded somewhere else
Shit efficiency, arrays are far too big.. the maximum client message is 128 characters, but arrays are being declared with 256 cells, that's a waste of 128 cells
Declaring a global variable and then using local variables in every command, another 256 cells being wasted
Next time you copy and paste, make sure the code is up to standard
Like a Sherlock Boss Holmes
Nice to see you take an interest in this PSVita! :)
I'm a hardware man myself, never understood the fascination of code :lol:
-
Nice try, but I believe that script is uploaded somewhere else
Shit efficiency, arrays are far too big.. the maximum client message is 128 characters, but arrays are being declared with 256 cells, that's a waste of 128 cells
Declaring a global variable and then using local variables in every command, another 256 cells being wasted
Next time you copy and paste, make sure the code is up to standard
You find this in a lot of those popular edits still.. Which is why I say do not pick up others old habits.
-
"Google is your best friend".
Open it, search for PAWN(O) guides and begin to learn the basics and contiune from there, you will learn the basics and the basics will help you in the intermediate level.
If you need help, message me and I will happily help you.
-lmpurity
-
Scripting is very fun once you get familiar with it. Its not the joy of getting your script through in one try, it is the joy of succeeding after several failures.
-
Most important. Don't copy paste things. Try to learn them from what they actually is.
-
http://forum.sa-mp.com/showthread.php?t=357700&highlight=Simple+AFK%2FBRB+System (http://forum.sa-mp.com/showthread.php?t=357700&highlight=Simple+AFK%2FBRB+System)
-No, If you browse at the sa-mp forums there is like 1000copies of the same, so yeah, i made this one :roll:
-
-No, If you browse at the sa-mp forums there is like 1000copies of the same, so yeah, i made this one :roll:
Right and your code happens to be exactly the same as the one I linked to? Including the shit efficiently Conroy pointed out?
Yeah.. right.
-
xcasio's is not the only lot of code you have headaches with Conroy...
I started many moons ago when the easy to learn language was Basic... literally B A S I C (I cant even remember what it stands for), anyway that was 1989!
Slowly went up the range, to visual basic, did a little pascal and C++.
I many years alter player with Operation Flashpoint which uses a language with similarities to C++, so I dabbled.
I cannot remember how but at some point I volunteered or got asked to build a new fuel script here and I thought I would give it a go... having never script in pawno in my life.. Haldir helped and I sort of landed feet first in the thickest mud around... I learned as I went along... (and have yet to stop, it never ends!)
Anyone says they know it all, they are lying !!!
TIP: this is NOT the way to learn, its slow and really stressful as you are learning AND scripting for a demanding customer...
My advise, make a mini server, play around with ideas even little ideas, develop them, do things others have not done, do things you like, there are so many possibilities limited by only your imagination and ability to script. Some of my ideas have made it into Argonath, and these are in regular use.
All I can say is good luck, don't give up, that's too easy.
-
Summing up what our scripters have posted into a single sentence would be a hard task. But if there is one point that would fit the criteria, then it would be that experience is the best teacher.
While it is good to learn from others, you must also do some learning on your own. As everyone is posting stories of their experience in programming, I thought I'd heap some on the bandwagon too.
I do not have much experience in the area of using different programming languages, as our teachers in high school were (sad to say) less than optimal when it comes to computers. However, as I mentioned earlier, I did some learning on my own. While others were busy carrying out the simple codes the teacher gave for simple laboratory exercises, I dabbled with the functions, screwed around, and made a little "for fun" programs of my own. Ironically, these programs I made as a result of fucking around during computer class had more intricate codes than any of the lab exercises given.
Not a very good strategy if you wanted to maintain optimum academics, but needless to say, it provided a better learning experience for me than the rest of my batch, which was rewarded when I was given an award for best in programming during my High School graduation. :)
Now that I am studying more languages after taking up Computer Science in a certain premier state university, I still enjoy the same quick learning as I had in High School for every new function I come across. Learning is a process that never ends, especially in your younger years, so make the most out of it.
Pieces of advise to sum it up:
- Experience is the best teacher.
- Learning from others is good, but do some of your own.
- Never try to master a topic until you have mastered the previous one.
- Set good standards for yourself and try to reach (or exceed!) those.
- Enjoy what you do.
I've done well with those five. You may have a different set of principles in learning (which I believe has a relative nature to it as well), but the same underlying concepts remain.
Good luck in your future endeavors.