nice but how do you handle the tiebacks to the inherited vehicle instance in the go algorithm?
Any kind of meaningful go algorithm is going to want instance data or methods from the class it is driving.
In doing that, there will be a lot of logic in the casting and wont that defeat your whole purpose? ie you just created a set of classes that have to be co-maintained.
I'm sorry but I have to say that the topic was poorly explained :(
lordancute 6 days ago
Good video, i like your style, you didnt just explain how to use the Strategy pattern but why you use this pattern in the first place. Thanks!
1337holiday 3 months ago
nice but how do you handle the tiebacks to the inherited vehicle instance in the go algorithm?
Any kind of meaningful go algorithm is going to want instance data or methods from the class it is driving.
In doing that, there will be a lot of logic in the casting and wont that defeat your whole purpose? ie you just created a set of classes that have to be co-maintained.
mindprism 2 years ago