Hacker News new | past | comments | ask | show | jobs | submit login

I guess it is easier, dev wise, to round a WPM-calculation than do fuzzy duration logic. I wouldn't stress too much about it



   if (mins < 4) return "a couple of minutes"
   if (mins < 8) return "five minutes"
   if (mins < 12) return "ten minutes"
   if (mins < 18) return "quarter of an hour"
   if (mins < 25) return "20 minutes"
   if (mins < 40) return "half an hour"
   if (mins < 50) return "45 minutes"
   if (mins < 70) return "about an hour"
   if (mins < 100) return "hour and a half"
   if (mins < 250) return "a couple of hours"


Wouldn't it be more useful to overestimate, rather than underestimate?

Also, is the "couple of hours" estimate being off by more than a factor of 2 a typo, or are you just trolling at that point?


or just use the minutes value.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: