posted 19 years ago
Hello Arifin,
As for myself, I would write class methods:
For global processes that may affect all instances of the class (for example, setting class defaults)For utilities relevant to what the class deals with (for example utility methods in Math class)
Otherwise, I would write instance methods. (Obviously, once you need to use a non static member of the class, you need to write an instance method)
Hope that helps,