-
Notifications
You must be signed in to change notification settings - Fork 0
Design of Nodes #29
Copy link
Copy link
Open
Labels
back-endCode changes related to the back-endCode changes related to the back-enddesignIssues relating to design of the project or interfaces usedIssues relating to design of the project or interfaces usedenhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
back-endCode changes related to the back-endCode changes related to the back-enddesignIssues relating to design of the project or interfaces usedIssues relating to design of the project or interfaces usedenhancementNew feature or requestNew feature or request
The design of Nodes in the project is bad and does not follow proper OOP (open-closed) principles as pointed out by @JonathanBush. One way to fix this is by making nodes children based on a hashmap system so that the generic parent node could support any layout by default. I.E.
This would allow, for example a generic iterator to work by getting the keys (positions) with the child node corresponding to it.