HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

That link needs one more vote. Make it yours! Login and vote now.
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.
  • 7
  • 3
  • 2123
  • 0

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 (7)



Voters Against This Link (3)