in reply to Approximate logarithmic statistical module: new() params naming

I think relative_precision and absolute_precision are not very expressive. base is more clear as it refers to the basic binning strategy. Perhaps you can call it log_base to make it even more clear. You could then replace precision with linear_width or such. linear_threshold fits nicely into that pattern.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics
  • Comment on Re: Approximate logarithmic statistical module: new() params naming

Replies are listed 'Best First'.
Re^2: Approximate logarithmic statistical module: new() params naming
by Dallaylaen (Chaplain) on Apr 18, 2015 at 11:01 UTC

    Thanks a lot for your reply. The more I think of it, the more I like it.

    How should I refer to you in the "thanks" section in case I stick to your naming scheme? Name, CPAN id, whatever?