
Member or Global Function?
Question: I have a function that takes 2 classes as arguments. Should I make the function global or inside the class? If that should be a member function, is there any rules to select which class should I place the function in? Answer: The “rules” are nearly endless, and it’s