Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2016-10-28 21:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.