News for hackers. Stuff that matters.
Re:Union Types have been accepted for PHP 8 by 6gvONxR4sf7o on Saturday November 09, 2019 @08:49PM (#21495884)
>The DB only has to guarantee what it says it supports (only store one specific type in a column).

If you mean primitive types specifically, this already is far from the case, and it's great. One "type" is great, but types can be composed. Allowing types beyond primitive types has already been a blessing for me. Getting columns of type ARRAY[some other type] or MAP[type, type] is incredibly convenient. I don't feel so strongly about the JSON types that are entering into every db, but they're certainly supported and widely used.

There are no comments on this comment yet.