Hacker News new | ask | show | jobs
by BitterAmethyst 3028 days ago
You can make the constructors on the class private and have a public static method on the class that does the instantiation.
1 comments

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.