Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
BitterAmethyst
· 8y ago · 0 comments
You can make the constructors on the class private and have a public static method on the class that does the instantiation.
Comments
[–]
guelo
8y ago
For the simple case yes. But if you want several classes cooperating, maybe helpers or related data classes, your options are assemblies or like you said to shove everything into one giant class. You have less flexibility of separating things out.