The FileFormatLister has been coded to work with class methods, which is okay. However, it also uses one or two class variables, which indicates that some form of state needs to be maintained globally. Using class variables is probably not the best solution and there are multiple ways to improve this.
The
FileFormatLister
has been coded to work with class methods, which is okay. However, it also uses one or two class variables, which indicates that some form of state needs to be maintained globally. Using class variables is probably not the best solution and there are multiple ways to improve this.