I'm trying to decide whether it is better to use static methods for loading/saving objects, or use constructor/instance methods instead.
So, say for object Project
, the instance version would be
public Project(path) { // Load project here }
public void Save(path) { // Save project here }
And the static version would be
public static Project Load(path) { // Load project and return result }
public static void Save(path, proj) { // Save project }
So, which do you prefer?