This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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