News for hackers. Stuff that matters.
Re:Why OO Sucks by Joe Armstrong (2000) by ddebernardy on Sunday April 21, 2019 @11:37PM (#19716324)
I'm not sure I'd agree that it being a Wednesday is a "just is" sort of thing. The point in time is a data point (on the time axis, if you will). A function then needs to place it in a calendar.

FWIW I'm struggling to come up with a good example of where the line between data and functions is clearcut, except perhaps when the data describes a function: an SQL string, some code that'll get eval'ed, etc.

Re:Why OO Sucks by Joe Armstrong (2000) by treis on Monday April 22, 2019 @09:22AM (#19718673)
>The point in time is a data point (on the time axis, if you will)

You need some way to place in on that axis, though. Commonly we use Day, Month, and Year to do so. But we could also define a date as the seventh Wednesday in 2019. Or as an integer relative to Jan 1 1970.