Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kwhitefoot
· 3y ago · 0 comments
How long do I need to wait?
Comments
[–]
dayvan
3y ago
I think they're all great suggestions (albeit for such a tiny, irrelevant piece of code). The only problem I can think of is that the given code rounds up, but your suggestion of `int(percent * 10)` rounds down.
[–]
Luc
3y ago
It's just too obvious. The metrics you're optimizing for don't matter to any of the stakeholders.