Quote:
Originally Posted by pokeSMOT
But I'm curious, every time you use the temp.'chr's, is it required for you to keep saying "temp."? Does GScript not support enumeration?
|
No, it's not required, but I find it increases clarity because of GScript's weird scoping rules.
I do not see how enumerated types are related though.
Quote:
Originally Posted by DustyPorViva
That's a hell of a lot of temp's though! And is there really a lot of confusion? I mean in this day and age usually if you see a var without a prefix you can undoubtedly know that it is a temp var. And it looks so much neater!
|
I personally sacrifice some neatness for clarity. I try to always explicitly define what scope I'm working in.