You only need to declare things in child classes if you're overriding
them, so unless you're doing that you should just declare them in the
super class.

Also, I tend to think it's bad idea to override variables, but that
may just be me.

 -Andy

On 2/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi
I'm cuurrently refactoring some code in a project with lots of extended classes.

What is the recommended practice in declaring static vs non-static (private 
static vs private)
variables?
Should they be declared in both the super and sub classes?

My goal is to avoid any redundant code.
Thanks


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca
--------------------------------------------
"...all improvisation is life in search of a style."
             - Bruce Mau,'LifeStyle'
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to