Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
XP is just a number
 
PerlMonks  

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.


Comment on Re: Data::Delta module proposal
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047409]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2014-04-16 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (415 votes), past polls