Remix.run Logo
xlii 7 hours ago

Exactly, model is in integers and representation can be 1⃣3⃣ or whatever, that's why model-view separation exist.

lxgr 7 hours ago | parent [-]

Sure, you can do that if you can absolutely guarantee that everyone will always respect that separation and there will never be ambiguity between your internal and some partner's representation – even during incidents, even during low-level CSV-to-DB ETLs during incidents ("just one time, I promise, we don't have time to build the proper adapter, but look how similar their and our formats are").