Let’s say I have, or am going to write, a set of related functions. Let’s say they’re math-related. Organizationally, should I:
- Write these functions and put them in my
MyMath
namespace and refer to them viaMyMath::XYZ()
- Create a class called
MyMath
and make these methods static and refer to the similarlyMyMath::XYZ()
Why would I choose one over the other as a means of organizing my software?