Skip Menu |

This queue is for tickets about the DateTime-Event-Sunrise CPAN distribution.

Report information
The Basics
Id: 77710
Status: resolved
Priority: 0/
Queue: DateTime-Event-Sunrise

People
Owner: J2N-FORGET [...] orange.fr
Requestors: DOHERTY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.0503



Subject: Rename "iterate" to "exact" or "precise"
"iterate" described *how* you get the more precise result. The user shouldn't have to know or care about that - they just want the more accurate result (or not). By using the word "iterate", you imply to the casual user that they'll somehow get back a iterator object of some sort, which is a total red herring.
Likewise, the keyword "altitude" is misleading. An altitude is the length, in meters or in feet, between the sea level and the ground level. In this module, the parameter is the angle between the sun and the horizon. So it is measured in degrees with usually a negative number because we expect the sun to be below the horizon (e.g. for nautical and astronomical sunsets). This is why I prefer the astronomical term, "height" which, in astronomical context, is measured in degrees.
Le Ven 27 Sep 2013 01:36:02, JFORGET a écrit : Show quoted text
> Likewise, the keyword "altitude" is misleading. >[ cut ]
Well, I have done some checks on on-line dictionaries (http://dictionary.reference.com/browse/altitude?s=t&path=/) and I have found that in English, in an astronomical context, the altitude can be an angle between the horizontal plane and a celestial object. So this part of the ticket is canceled. The part with "precise" instead of "iteration" still holds and will be solved in the next release.
Le Ven 08 Juin 2012 17:45:55, DOHERTY a écrit : Show quoted text
> "iterate" described *how* you get the more precise result. The user > shouldn't have to know or care about that - they just want the more > accurate result (or not). By using the word "iterate", you imply to the > casual user that they'll somehow get back a iterator object of some sort, > which is a total red herring.
Version 0.0503 accepts the keyword "precise". For upward compatibility, the "iterate" keyword is still accepted, but it is no longer documenter in the POD text, except to say that it is deprecated.