If I write a method that can take any data type but will return different results depending on the input data type should I rather split the method so that each of them only tak