Comment #2 on issue 3123 by [email protected]: Naming conventions in
sympy/stats/
http://code.google.com/p/sympy/issues/detail?id=3123
* Density, Where, Given, Sample, CDF, Skewness: these are functions, so
their name should be lowercase
These were originally intended to be classnames like Add, Mul. I'm not sure
that that's the plan any longer. I agree that these should be changed
* Covar: the conventional notation is Cov, not Covar.
agreed
* P, E: these names are too short. It's debatable whether P and E are
appropriate shortcuts, but they are clearly unsuitable as primary names
shown in documentation and tracebacks.
I strongly believe that at least the user interface should include these
function names. P(X>1) looks good enough to warrant the deviation from
style. These functions are also not in the general sympy namespace so its a
bit less important. Making them aliases to other more verbosely named
functions seems like a good compromise.
I'll get to this in a week or two if no one else does beforehand.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.