Kinda useless question
#6

Quote:
Originally Posted by Donny_k
Посмотреть сообщение
It's easy to read, looks neater to me also, I format my code always like that when I'm writing a samp script. When I write something for c# or c++ (visual IDE) I don't as it formats for me but when writing some code in an editor which doesn't auto format then it will look like that.

It's just a style like indentation, everyone has thier own, like you put spaces between your parameters.
That's 100% my opinion. It's just the same thing with the brackets

pawn Код:
if(ble==1){
...
}
and
pawn Код:
if(ble==2)
{
...
}
does not matter which you use, but everyone uses his own style. I like the version with less spaces and the bracket directly behind the if-statement, which is the most common way of scripting, i guess, due to the fact, that it is the fastest one (which i know), although I began with putting the bracket into a new line, which makes it harder for me to now switch over to the, in my opinion better style.
Reply


Messages In This Thread
Kinda useless question - by Mean - 08.02.2011, 15:39
Re: Kinda useless question - by Finn - 08.02.2011, 16:38
Re: Kinda useless question - by weedarr - 08.02.2011, 16:41
Re: Kinda useless question - by Mean - 08.02.2011, 16:57
Re: Kinda useless question - by Donny_k - 08.02.2011, 17:08
Re: Kinda useless question - by DeathOnaStick - 08.02.2011, 17:22
Re: Kinda useless question - by mamorunl - 08.02.2011, 22:12
Re: Kinda useless question - by Hal - 09.02.2011, 02:26
Re: Kinda useless question - by ev0lution - 09.02.2011, 03:18
Re: Kinda useless question - by Mean - 09.02.2011, 08:46

Forum Jump:


Users browsing this thread: 3 Guest(s)