views:

219

answers:

1

Hi guys,

I'm working on a video player and I initially developed the player with everything in the .FLA file with no classes. Then I started modularizing my player into classes and realised that my classes are static methods rather than instance methods which doesn't seem to be needed in my player. My question is - is this a bad design to have all of your classes methods to be static rather than instance methods ? As I dont see the need (yet) so that's why i geared more towards static methods, is this a bad design? Appreciate your comments guys!

+2  A: 

If your methods can do their task correctly by parameters only, then it isn't such a bad design.

But deciding if it is good or bad by explanation only is pretty hard :-P Every single application has (multiple) appropriate design(s) for it.

MrThys
So what you're saying is pretty much there's no right or wrong way in this situation?
Malcolm Lim
Well no, what I'm trying to say is that there are multiple wrong and right ways to write an application. Without knowing the code and just reading your explanation it is hard to decide if your design is right or wrong, but reading your story it looks like it is a right one ;)
MrThys