The semantics don't fit at all.
Indeed they are. Which is why it would be a lot more semantically rich to provide methods to support the conversions.
-
-
Eh, I'd still want the division. Dividing periods by each other is useful.
-
Sure sure -- I'm not saying *remove* that capability. But .to_hours() should be supported.
-
I disagree - then you end up with to_years, to_months, to_weeks, to_days, to_hours, to_minutes, to_seconds, to_miliseconds...
-
It's redundant, and dividing by an hour is exactly how you'd do things mathematically
-
Who cares about redundancy? Readability is better than "how you'd do things mathematically."
-
In other words, we have dozens of redundant things hanging around. Why is this one suddenly bad?
End of conversation
New conversation -
-
-
I do agree that in this case, a to_unit() or as_hours () would make sense.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
