Get the latest tech news
Data, objects, and how we're railroaded into poor design (2018)
Our programming languages don't really support us in making good design decisions. They fall short of allowing us to choose appropriate representations.
DataObjectsEqualityValues: any 1 is a 1.Object identity: this 1 is not that 1.IdentityIt’s just bytes, copy away.You can serialize / deserialize or clone, but that’s an action that gives you a new object with distinct identity.MutabilityImmutable: nothing else makes sense. Despite Erlang basically working only with immutable data, a process (from a broader system-level perspective) essentially has its own mutable encapsulated state. What we now see is a smaller fad of blog posts pointing out that Postgres with a JSONB column is functionally superior in basically every respect in comparison to a NoSQL database.
Or read this on Hacker News