08.05.2012, 19:38
(
Последний раз редактировалось Disturn; 08.05.2012 в 20:39.
)
Interesting.
I couldn't agree more. When I began designing games in C a few months ago, memory leaks were one my biggest concerns/issues. You wouldn't want something consuming memory to not be destroyed when it's finished being used right? Sure I could have simply modified the code, but I also noticed how many unnecessary and unwanted things were being used. I can't even count how many times I've redone some projects over that and many other issues.
cessil also brought up a most interesting statement.
There is no doubt about this. My observations of this forum has lead me to think that many people believe that petty concepts such as "creating a command" and etc is key to PAWN. PAWN is a brilliantly designed scripting language. It's C like syntax allows programmers such as my self who are mainly C oriented to grasp the concepts quickly and effectively. For those who aren't multilingual or have never even dealt with programming NEEDS to read. And I'm not talking about the wiki on the forums, but pawn_lang.pdf. It explains PAWN in great detail. The main focus of people on this forum is to create a server, but this requires time and precision. You must understand what your dealing with, how to utilize it and utilize it EFFECTIVELY. Once you've done that, the rest is cherry picking.
Libraries aren't as complex as you sought them out to be. You only use it if you need something from it. YSI in particular is humongous. Anything can't go wrong unless the code is improper and code is only improper as the one whose coded it. There is documentation about YSI. You CAN fix the code yourself, but many people prefer to come on the forums and request help and that's fine as this is one of the purposes of the SA-MP Forums.
Quote:
Originally Posted by Joe Staff
Generally, I'll get far enough into a project where I feel that completely starting over will help with optimization. This may sound like it would take forever, which it does, but the second time you do something new you are far more aware of how the process works and thus are able to plan ahead enough to optimize it.
|
cessil also brought up a most interesting statement.
Quote:
Originally Posted by cessil
Also doing basics first allows a better understanding of how your plan will turn out and will allow you to change things around without too much effort or time consumption.
|
Quote:
well I kinda agree with you y_less, using libraries is important
But sometimes these libraries are too complex, and when something mess's up we cant fix them/our code as we really not sure how this library works. I was making a mode from scratch using some libraries, YSI was one of them, I ran into trouble in that mode for a few reasons, I'm not experienced enough yet with PAWN, I'm not experienced enough yet with YSI, |