You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current state
It seems to me that the code in the methods __load_tree of the inotifyTree and inotifyTrees classes is being duplicated.
If I'm not being wrong, it is possible to convert this code into a method of the parent class __BaseTree and add some more parameters for child classes to call it, like debug_message.
Better way to do it?
Move duplicated code to __BaseTree class. Maybe do some refactoring.
Motivation
Better readability, easier support.
TODO?
If nobody is up to this, and nobody is against it, I'm willing to add this myself.
The text was updated successfully, but these errors were encountered:
Current state
It seems to me that the code in the methods
__load_tree
of theinotifyTree
andinotifyTrees
classes is being duplicated.If I'm not being wrong, it is possible to convert this code into a method of the parent class
__BaseTree
and add some more parameters for child classes to call it, likedebug_message
.Better way to do it?
Move duplicated code to
__BaseTree
class. Maybe do some refactoring.Motivation
Better readability, easier support.
TODO?
If nobody is up to this, and nobody is against it, I'm willing to add this myself.
The text was updated successfully, but these errors were encountered: