You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working with time is always hard and we often mess up our time logic.
My guess on why we always have a hard time is that we deal with a concrete clock too soon. I suppose we should deal with time in a more declarative way by using human terms and resolve to a concrete PointInTime at the end of our processing.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Working with time is always hard and we often mess up our time logic.
My guess on why we always have a hard time is that we deal with a concrete clock too soon. I suppose we should deal with time in a more declarative way by using human terms and resolve to a concrete
PointInTime
at the end of our processing.Example to list the days of february:
For example this sequence is not fixed as it changes on leap years.
If done correctly the API would allow to ease testing code working on a span of time.
Beta Was this translation helpful? Give feedback.
All reactions