News for hackers. Stuff that matters.
Re:You might as well timestamp it by whalesalad on Saturday April 24, 2021 @07:23AM (#26924084)
Missing the point of domain modeling? I think you’re projecting a scenario or past experience forward on this because there is nothing about this that goes against “classical domain modeling”

At the end of the day, as far as computers go what is actually the difference between (TRUE, FALSE) and (MMDDYYTTTTTT/Null) - assuming your environment and storage engine support it.

You’re encoding far more meaning by using a date than using TRUE. Instead of two columns you now have one.

You can have a rock solid system without any room for misinterpretation and confusion while also using this approach. I do it all the time.

There are no comments on this comment yet.