Creational Design Patterns

Published: May 12, 2016, 5 a.m.

A constructor is a function that is used to build an object and it is part of that objects definition. Calling a constructor causes cohesion between the code and the object being instantiated. Making changes in the objects can cause problems when calling the constructor. Strongly typed languages tend to catch these errors at compile time however dynamic languages such as JavaScript may not catch the errors until runtime or later. The creational design patterns are ways to break this cohesion

The post Creational Design Patterns appeared first on Complete Developer Podcast.