Which is better? Enum or variables.
#10

Quote:
Originally Posted by ******
Посмотреть сообщение
Well arrays are slower than variables so there's that, but I was talking about Emmet_ saying he used it for single variables. There you have all the lack of speed of arrays combined with the verbosity of enums for zero gain over variables.
Actually, I don't use enums for single variables anymore (but I still do that in some scripts or I do it without realizing). I either declare single variables or I use per-player variables, despite the discouragement for them (I don't even know why people even hate them lol).
Reply


Messages In This Thread
Which is better? Enum or variables. - by newbienoob - 23.04.2013, 05:36
Re: Which is better? Enum or variables. - by Vince - 23.04.2013, 05:41
Re: Which is better? Enum or variables. - by newbienoob - 23.04.2013, 05:50
Re: Which is better? Enum or variables. - by DaTa[X] - 23.04.2013, 06:04
Re: Which is better? Enum or variables. - by Knappen - 23.04.2013, 06:05
Re: Which is better? Enum or variables. - by Scenario - 23.04.2013, 06:47
Re: Which is better? Enum or variables. - by Emmet_ - 23.04.2013, 10:11
Re: Which is better? Enum or variables. - by newbienoob - 23.04.2013, 10:20
Re: Which is better? Enum or variables. - by iggy1 - 23.04.2013, 11:08
Re: Which is better? Enum or variables. - by Emmet_ - 23.04.2013, 11:20

Forum Jump:


Users browsing this thread: 1 Guest(s)