onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
245 stars 28 forks source link

milliseconds too long, maybe better to use word abbreviation? #163

Closed whoizit closed 3 years ago

whoizit commented 3 years ago

I propose for the scripts to abbreviate:

milliseconds -> ms seconds -> s minutes -> m hours -> h

or

milliseconds -> msec seconds -> sec minutes -> min hours -> hour

bsutton commented 3 years ago

The choice of names was based on using the same names as the Duration class. The idea being that this would make it easier for users to remember/learn. Abbreviations are also generally frowned upon and with auto-complete they don't add much advantage.

S. Brett Sutton Noojee Contact Solutions 03 8320 8100

On Wed, 29 Sept 2021 at 13:39, whoami @.***> wrote:

I propose for the scripts to abbreviate:

milliseconds -> ms seconds -> s minutes -> m hours -> h

or

milliseconds -> msec seconds -> sec minutes -> min hours -> hour

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/noojee/dcli/issues/163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG32OBCEKPDF4JPLFU7WJ3UEKDALANCNFSM5E63JDRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

whoizit commented 3 years ago

ok, thanks