Althos
❔ Is there a better way to implement this "pattern"?
Hi, I'm trying to implement a pattern where I have a non-generic interface that exposes certain functions and can be used by any other class without the need for a generic, and then a generic version of the interface that helps restrict types properly when creating concrete implementations, here is an example
Is there a name for what I'm trying to do, and is there a better way to implement it? Thanks a lot for your help!
Is there a name for what I'm trying to do, and is there a better way to implement it? Thanks a lot for your help!
16 replies