ParentFull threadmtklein·The idiom I am familiar with here is to make the constructor private and provide a public static factory method that allocates on the heap.View on HN