http://www.perlmonks.org?node_id=1047409


in reply to Data::Delta module proposal

Data::Delta is a terrible name.

If we assume a 16 bit counter (because I can't remember off the top of my head what 2^32 or 2^64 are in denary), then you want the delta between 65535 and 0 to be 1. However, for most other people, they'd want the delta to be 65535 (or, perhaps depending on the order of the arguments, -65535). You need to include the word "Rollover" in the name.

Replies are listed 'Best First'.
Re^2: Data::Delta module proposal
by VGavara (Novice) on Aug 01, 2013 at 11:02 UTC

    Yes, in fact it works as you define. Then... this is like choosing the name for a son, seems more difficult than creating the module itself... might it be named as Data::Delta::Rollover or Data::Counter::Rollover?

    Personally Data::Delta::Rollover seems to match better for me since the module calculates deltas supporting the fact that they can rollover. On the other hand it does it from counters, so it's not foolish to reflect it in the name... Oh, seekers of supreme wisdom, I really need advice.