3 ms·
> Type assertions and switches I find it especially unorthogonal that you can type switch on generic parameters like they are interfaces. If I have a method th
by yorozu 7y ago
> Type assertions and switches
I find it especially unorthogonal that you can type switch on generic parameters like they are interfaces. If I have a method that takes interface parameters, should I just always use generic (unboxed) parameters instead?