Raised This Month: $ Target: $400
 0% 

Scared to learn codding !


Post New Thread Reply   
 
Thread Tools Display Modes
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 09-20-2014 , 04:54   Re: Scared to learn codding !
Reply With Quote #31

Quote:
Originally Posted by Arkshine View Post
DON't BOOKMARK ME!
__________________
Kia is offline
Kakarotto
Senior Member
Join Date: Apr 2014
Old 09-20-2014 , 06:10   Re: Scared to learn codding !
Reply With Quote #32

Quote:
Originally Posted by Kia View Post
hahahahahahahahahahahahahahahahahaha
__________________
BANNED !!
Kakarotto is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 09-20-2014 , 23:17   Re: Scared to learn codding !
Reply With Quote #33

Quote:
Originally Posted by ddhoward View Post
Sourcepawn is the first language I learned. The following year, I took some programming fundamentals class, and I got 105%, the highest grade in the class, simply because of my experience writing Sourcemod plugins.
I wonder what extra 5% was all about ...

Anyways, this is how i learned programming:
Instead of wasting my time on whining that i can't do it or it is too hard i just did it and now im doing it just fine...
.Dare Devil. is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-21-2014 , 03:37   Re: Scared to learn codding !
Reply With Quote #34

Quote:
Originally Posted by fysiks View Post
A plugin is a program so learning how to write a plugin is learning how to program. There is nothing wrong with starting with plugins here (especially because many people don't have some other motive to write a program in another language). I.e. You don't NEED to learn some other language first, it's just helpful if you already know the basic programming principles (which you end up learning from most any programming language).



That is an awesome description of him lol.
pawn is a scripting language
c++, pascal(most often found in schools) and stuff like that is programming

Don't put them in the same bowl, if I ask you to make your own contain function, can you make it? Most scripters can't, most programmers easily can.

It all breaks down to how much you're actually open to learn.
I started learning c++ 3 years ago, about half a year before I started "learning" pawn. I finished my first year with a grade of 5(for grades from 1 to 10 where 4 = failed). Then during the summer vacation I picked up on pawn and started learning easily because instead of doing math problems I was actually doing something "fun", something I could physically see and use, not a black console. I already had the coding "brain", knowing how a script should look, proper indentation and so on, but had 0 knowledge about anything.

Over the summer I started by copy pasting stuff. For example, the first thing, was a daysmenu plugin for my jail server. Then I started modifying small stuff, like weapons, gravity, whatnot.

Then I was forced to keep advancing, because people would lose their speed when changing weapons, stuff like that, so I just searched and got into more advanced scripting.

It was at least 2 months before I started writing my own stuff. I remember the first thing was a command that would just spam my name like amx_csay in multiple colors. Needless to say I failed hard, it wouldn't even compile.

Well anyways I just kept going and the next year, and the year after that, I finished my computer science with 10/10, doing no actual homework or learning. So in this case, it was both. School helped me start scripting, and scripting helped me excel at school.

For me, it was pleasure combined with need. Having a top server in my country exposed me to many attacks , and many requests, complaints, so I had to learn. One year after I started scripting I've already tripled the lines of joropito's jailbreak extreme and my server was eating 1,2Gb ram and a whole core from the dedicated machine. So that's when I had to start learning to optimize stuff, instead of just writing tons of creative things, but write them like shit.

There was nobody there to tell me not to use curweapon to update player speeds, weapon models. Even on this forum, people keep telling the same function to newbs, and flame at me when I start with ham_item_deploy and reset maxspeed.
Nobody told me not to use prethink to set player invisibility or player models.

So to break it all down, it's very easy to start scripting. It's very, very hard to master scripting. Any "pro" scripter you will ask, I can guarantee they will never tell you they know everything. If anyone tells you they know everything, they're lying. Only start if you have something to put your work into. Unless you, or a friend, haves a server where you can see people enjoy your work, you will soon stop because playing with your own shit in a local server gets very boring. Getting good enough to have approved plugins here so people can kiss your ass in your topic takes a very long time. Posting your noobish plugin on other forums, well, it will teach other newbs like myself 3 years ago to use prethink to set alpha and model, and curweapon to set weapon models and speed.





ps: i really have nothing better to do while having my morning coffee
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-21-2014 , 05:43   Re: Scared to learn codding !
Reply With Quote #35

Quote:
Originally Posted by aron9forever View Post
pawn is a scripting language
c++, pascal(most often found in schools) and stuff like that is programming

Don't put them in the same bowl
That is just a bunch of semantics BS.

If you go by a common definition of scripting and programming, Pawn, at least in this context, is compile and therefore a programming language. HTML would be a scripting language because it is merely interpreted instead of compiled. There is an increasingly fuzzy line between the two these days.

So, don't go saying that writing a plugin is not programming. In my opinion, if you learn the basics of programming (variables, control structures, etc.) then you are learning how to program regardless of whether it is "programming" or "scripting" because those skills can transfer to any other language that has those same basics concepts.

Quote:
Originally Posted by aron9forever View Post
if I ask you to make your own contain function, can you make it? Most scripters can't, most programmers easily can.
You are implying that "programmers" are smarter than "scripters" which is just plain stupid.
__________________
fysiks is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-21-2014 , 15:36   Re: Scared to learn codding !
Reply With Quote #36

Quote:
Originally Posted by fysiks View Post
You are implying that "programmers" are smarter than "scripters" which is just plain stupid.
You got it all wrong. I just said that when you learn programming, you learn to do it all by yourself. In pawn and most other scripting languages you use stocks, functions, whatever, written by someone else.

You probably didn't understand what I said because I didn't really express myself properly. I asked if you can write me a function that works exactly the same way the "contain" or "containi" function works.
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-21-2014 , 16:30   Re: Scared to learn codding !
Reply With Quote #37

Quote:
Originally Posted by aron9forever View Post
You got it all wrong. I just said that when you learn programming, you learn to do it all by yourself. In pawn and most other scripting languages you use stocks, functions, whatever, written by someone else.
You use functions that have been written by someone else in EVERY scripting/programming language. You don't need to be able to "do it all by yourself" to be a programmer. I'm not going to reinvent the wheel for no good reason like you are implying.

Please stop belittling "scripting". Just because you are using a language that is self-described as a "scripting" language, does not mean you are not programming. Again, this is mostly just a bunch of semantics BS.
__________________

Last edited by fysiks; 09-21-2014 at 16:40.
fysiks is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 09-22-2014 , 12:53   Re: Scared to learn codding !
Reply With Quote #38

I thought this was off topic why u deletin posts
hatin on them bros
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-22-2014 , 12:53   Re: Scared to learn codding !
Reply With Quote #39

Quote:
Originally Posted by aron9forever View Post
I thought this was off topic why u deletin posts
hatin on them bros
The Forum Rules still apply in Off-Topic
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode