Link Details

Link 92513 thumbnail
User 310113 avatar

By b.m
via freeopenidea.blogspot.com
Published: Jul 04 2008 / 13:41

When writing utility classes it is very easy to go down on the path of writing code that can never be changed later on because of static functions usage. Using a singleton approach combined with static functions is a much better solution, as shown in this article.
  • 8
  • 3
  • 1612
  • 659

Comments

Add your comment
User 285418 avatar

Motion Control replied ago:

0 votes Vote down Vote up Reply

The logger example is interesting, but the overall conclusion is nonsense.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (3)