View Single Post
  #8 (permalink)  
Old 09-05-2008, 02:20 AM
artem_korostelev artem_korostelev is offline
Member
 
Join Date: Sep 2008
Posts: 2
artem_korostelev is on a distinguished road
Quote:
Originally Posted by Supamagier View Post
True that, but:

1. Everything static just looks ugly. :P
2. Static methods/vars have limitations and disadvantanges you sometimes don't want.

Usually only the things that really need to be static are static, not the opposite.

I suggest: never make things static, unless you have no choice.
What's Static is Static sir. What is not Static is not Static, you can't replace one thing with another.

In simple words, for instance
Total Count of Items is Static, you cant make it any other type.
Color of the item can not be static, since it is different from instance to instance.

I am sorry but its not something redundant. Static type there for a reason.
Reply With Quote