Tags » Design Patterns

Factory Pattern-C#

Factory Pattern deals with the problem of creating objects (products) without specifying the exact class of object that will be created. The essence of this pattern is to define an interface for creating an object, but let the classes that implement the interface decide which class to instantiate. 165 more words

Design Patterns

Обмен сообщениями. Что это?

Большая часть моей работы посвящена интеграции приложений. Очень странно, что для «1С:Предприятие 8» нигде не описаны промышленные шаблоны интеграции, а если и есть какая-то информация — то ее очень мало.  53 more words


Singleton Pattern

  • Singleton pattern ensures JVM has only one instance of the class.
  • The pattern is typically used when you want to create one-and-only-one instance of the class.
  • 210 more words
Design Patterns

Talking to Greg about Windows Azure

In this video, I talk to Greg Leonardo about Windows Azure:


Nested Fluent Builders with Java 8

In the last post we looked at how to create an object using a fluent API in order to remove the code smell of a constructor with a long parameter list. 1,328 more words

Clean Code

What exactly makes Singleton Evil?

I read through many discussions related to Singleton Patterns, and different developers dislike it for different reasons. Not all the reasons make a pattern evil, because many of those reasons doesn’t really make your software really bad. 641 more words