Link Details

Link 98073 thumbnail
User 185351 avatar

By jsugrue
via java.dzone.com
Published: Jul 25 2008 / 12:04

I decided to write several posts about design patterns. Whether you use them or not, they are important and make your life easier (and probably increase your salary). Even if you are really not interested in design patterns, you will face questions about them in interviews or architectural design meetings. So you better open up your brain and learn some - there's nothing wrong with impressing a few colleagues.
  • 14
  • 5
  • 948
  • 329

Comments

Add your comment
User 231425 avatar

kalitai replied ago:

0 votes Vote down Vote up Reply

Too bad this article didn't point out Bill Pugh's version, using the "Initialization on demand" idiom: http://en.wikipedia.org/wiki/Initialization_on_demand_holder_idiom

User 283139 avatar

ceaseoleo replied ago:

-1 votes Vote down Vote up Reply

this is sort of poorly written article, two threads can come in and create more than one instance, nothing more to say... follow the links in the comments, of the article, they are much more informative.

User 254327 avatar

xcdesz replied ago:

0 votes Vote down Vote up Reply

Here come the singleton haters..

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.