Great video and solid advice. Instead of trying to predict the future and pre-build abstractions into the code, it's much better to keep the code/design as simple and clean as possible, so that when an unforeseen change is required, it easy to implement.
Great video and solid advice. Instead of trying to predict the future and pre-build abstractions into the code, it's much better to keep the code/design as simple and clean as possible, so that when an unforeseen change is required, it easy to implement.
In this specific scenario I believe you should consider using visitor pattern instead of allowing the graph to draw itself
Good design alternative 👍