Closed
Description
openedon Mar 13, 2015
I think it is a pretty common pattern to have a static factory method to create a class and the constructor of this class being otherwise private so that you cannot instantiate the class unless you use the factory method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment