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 myMyMath
namespace and refer to them via
MyMath::XYZ()
- Create a class
calledMyMath
and make these methods static and refer to the
similarly
MyMath::XYZ()
Why
would I choose one over the other as a means of organizing my
software?
No comments:
Post a Comment