Yesterday I was asked a question if it is better to use Singleton classes or classes with static variables and methods.
Here are couple of good answers:
http://www.bitchwhocodes.com/archives/2006/04/singleton_vs_st.htmlhttp://www.cs.colorado.edu/~kena/classes/6448/s05/singletonStatic.html
http://codebetter.com/blogs/jeremy.miller/articles/129545.aspx
Ni komentarjev:
Objavite komentar