Question about enums
#2

Thanks ******. Eh... I'd like to have short enum indices, because

Код:
new some_var = object[E_OBJECT_DATA_MODELID];
looks such a mess. 'OBJECT' gives no extra info here as my array name has it, such a long index name makes code harder readable (to me at least). Not good.

Код:
new some_var = object[MODELID];
looks much better. But 'MODELID' is a popular name (kind of) to use my index name must become elongated (and messy) because of that reason... blah. Maybe some redefinitions could do the trick? Don't know...
Reply


Messages In This Thread
Question about enums - by Baltazar - 08.04.2014, 01:59
Re: Question about enums - by Baltazar - 08.04.2014, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)