Do not worry this is so complex to define that I will define my own in my own class for myself. Like that I will be able to use the names I want for my projects. You see in Rectangle we have a protocol named fmp and I was sad to see it. I would have preferred wtf Stef Le 29/9/16 à 02:52, Ben Coman a écrit :
On Thu, Sep 29, 2016 at 1:50 AM, stepharo <stepharo@free.fr> wrote:
Hi guys
is stdev a typical name for standardDeviation?
Because I found it sad to have mean and stdev instead of mean and standardDeviation. stdev() or std() seems fairly typical. Doesn't mean we can't be different. One thing though is that the typical function is what newcomers would search on, which makes me consider it could be useful in Spotter to have a mapping from functions in other languages to Pharo methods. So a user would type stdev and the top hit would be standardDeviation.
MathCAD: stdev() http://www.phys.uconn.edu/~Eyler/phys258/P/stats.pdf
Excel: stdev() http://www.wikihow.com/Calculate-Standard-Deviation-in-Excel
Python 3.4: stdev() http://stackoverflow.com/questions/15389768/standard-deviation-of-a-list
NumPy: std() http://stackoverflow.com/questions/15389768/standard-deviation-of-a-list
Mathworks: std() https://au.mathworks.com/help/matlab/ref/std.html?s_tid=gn_loc_drop
SAS: std() http://blogs.sas.com/content/iml/2012/03/05/functions-to-know-the-mean-var-a...
cheers -ben