I have a class with two constructors that share a bit of common functionality. They also have their own specific bit of functionality.
I was thinking of creating a private method and calling it from both constructors. Should this method be a private constructor?
If this method is a common constructor behavior – then IMO – yes, it will make the code more readable.
A common usage is for example (java syntax):
Sometimes you have to write this method as a constructor, if for example (again java) it sets a
finalfield, which cannot be modified in a method.