Re:Data, objects, and how we're railroaded into poor design ...
by deterministic on Friday August 22, 2025 @09:25PM
(#44992075)
C++ developer here (30+ years). C++ is really missing support for sum types. The Haskell JSON example shows how useful it would be to have native support for it. Yes you can build your own but itβs pages of boiler plate code.
Every language I've used since then feels like it makes this issue needlessly complicated and implicit.