rsalmei / human-repr

Generate beautiful human representations of bytes, durations, and even throughputs!
https://crates.io/crates/human-repr
MIT License
37 stars 3 forks source link

Suggestion: accuracy interval and verbosity suppresion #2

Closed brunolnetto closed 1 year ago

brunolnetto commented 1 year ago

"There is heat and light, and both waves our regards."

I read your development content enthusiastically. Often, there are many branches to visit. Our developer's job is to suppress this branch cardinality to offer intellectual empowerment. To bring value means to comprehend the tree elements it belongs to and enjoy the forest instead of zooming in on each.

In this regard, I suggest to:

  1. Add confidence-interval-like feature;
  2. Reduce example verbosity by pattern ["sample-code", "use-instructions", "expected-behaviour"]
rsalmei commented 1 year ago

Thanks for your insights Bruno, but those are out of the scope here... This crate's purpose is to generate representations, as beautiful as they can be, which implies simplicity.