by jjav · 2y ago · 0 comments
That seems like a rare edge case though. If you want to interact with the data outside of the software, the common case is you're writing some script for that, in which case being able to use SQL is much easier.
Human processing benefits from pretty colors and organization. Machine processing is almost the exact opposite, it benefits from data definition and strong guarantees around invariants.
A graph is often the best way for a human to process something. But it's awful for a computer - computers can't see! At least not easily.
A nice in-between is something like XML. But if it's primarily gonna be interacted with by a computer, might as well make it a database.
Sure, more people have used SQL, but it’s definitely not impossible to just query XMLs. Hell, if someone has written JS they are likely familiar with DOM manipulations, which are more or less the same.