If you try to use generics too hard you make crazy shit. I'm working on a system that has a Something<T, Y> but the Y inherits from the T and its all just a mad mess that makes no sense at face value. I guess someone thought it was a good idea at some point but the end result is just confusing as hell.
Then you realise its just sitting upon 5 really simple Sql tables and you realise its really convoluted.
Its all about stepping back and going: "am I trying too hard?".
Like that last 10% of making the code base 100% elegant is what ruins it.
Its all about stepping back and going: "am I trying too hard?". Like that last 10% of making the code base 100% elegant is what ruins it.