Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
I wouldnt say that this is the worst part, but it tends to consume a lot of time:
Choosing a name for a variable (or function, structure etc.) that best describes it. I find myself looking through online dictionaries quite often.
Posts: 1,831
Threads: 69
Joined: Mar 2008
Reputation:
0
Testing and documentation.. I just want to make stuff!
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
24.04.2013, 13:52
(
Последний раз редактировалось RajatPawar; 24.04.2013 в 15:13.
)
The worst part is writing how to use your include or code and then answer stupid questions like "cannot load it"! About scripting, it's having to wait for a huge script to compile.
Posts: 367
Threads: 55
Joined: Oct 2011
Reputation:
0
are you sure testing and writing documentation is part of scripting?
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by zgintasz
are you sure testing and writing documentation is part of scripting?
|
Yes, otherwise how do you know if it works or what it does? By that logic you could argue that gathering co-ordinates isn't scripting, or that designing database schema isn't scripting either.
Posts: 1,767
Threads: 124
Joined: Mar 2010
Quote:
Originally Posted by DobbysGamertag
I have a new "worst part". Realising you can:
pawn Code:
#define C CMD //defining c as CMD.
Such a noob mistake 
|
Alright.. but this one:
pawn Code:
#define clrscr(); SYSTEM("CLS");
Is the same right? That's what my tutor's doing when I tried to set some value to macro, just like I'm doing it in PAWN, what I mean exactly is:
But he told me to use:
pawn Code:
unsigned int SOMETHING = 15;
Is he right, or not really? That was in C programming.
Posts: 15,941
Threads: 0
Joined: Jun 2008
C macros are different to PAWN ones (they're actually a lot LESS powerful).