I think it is only necessary in two places. But it might be better to put it in a method in one place like you said. Where do you suggest I place that method? (should it be in a class or not?)
I think it is only necessary in two places. But it might be better to put it in a method in one place like you said. Where do you suggest I place that method? (should it be in a class or not?)