Skip to content

Instantly share code, notes, and snippets.

Last active May 30, 2022
What would you like to do?
class ExcelSheet {
FileProperties fileProperties;
SecurityProperties securityProperties;
DocumentDatingProperties datingProperties;
RevisionProperties revisionProperties;
LanguageProperties languageProperties;
DocumentContent content;
// Object has less attributtes
// They are not only grouped for testability
// New objects are more cohesive, more testeable, less conflicts and more reusable
// FileProperties/SecurityProperties can be reused for other documents
// Rules and preconditions on fileProperties will be moved to this object so ExcelSheet constructor will be cleaner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment