So I have a class in a module that has some static methods. A couple of these static methods just do crc checks and stuff, and they're not really useful outside of the class (I would just make them private static methods in java or C++). I'm wondering if I should instead make them global class functions (outside of the class).
Is there any benefit for doing it either way? The class is being imported by from module import class
so I'm not worried about having those modules pulled in as well. But should I just make them class methods so that from module import *
is safer or something?