What's the diferente between this code?
interface ICommandHanddler<T> where T : ICommand
{
void Handle(T command);
}
and this code:
interface ICommandHanddler<ICommand>
{
void Handle(ICommand command);
}
For me it's have the same impact in my software, but i wanna know if that really dont impact anything or it's just a good practice