Declare Members at top of Class or Just Before Use? |
[eluser]OliverHR[/eluser]
[quote author="n0xie" date="1286696727"]One usually doesn't 'declare' variables.[/quote] I mean declaring in general programming terms. Declaring Variables [quote author="n0xie" date="1286696727"]The right way to do it, is to declare them at the top of your class so that whenever another developer looks at your class.[/quote] I think is better to use comments for this. Anyway it is my point of view. |
Welcome Guest, Not a member yet? Register Sign In |