Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Data::Delta module proposal

by DrHyde (Prior)
on Aug 01, 2013 at 10:13 UTC ( #1047409=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047409]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2018-06-19 22:55 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (115 votes). Check out past polls.