Hacker News new | ask | show | jobs
by dm319 1911 days ago
So I'm not wrong then? You're needing to cast an Int into a time duration in order to divide a time duration?
1 comments

Go requires explicit type conversions. If that was your original point, it was very poorly worded.
A time unit can only be divided by a time unit (or integer converted to a time unit)? That doesn't make sense to an engineer or mathematician.