Simple can be nice. I happen to like languages with a bit more expressive type systems. Sum types without unions is not something I’ve tried to do before.

(Enum tag in a structure with a union being the common way to do it in C though it’s a bit more manual than other languages)

And such unions can be nice when a function might fail and you want to bake the “failures” into the same result as a success.

In the end these are just patterns though.
Sent from my iPhone

On Aug 12, 2025, at 5:57 AM, Alyssa M via 9fans <[email protected]> wrote:


I'm afraid I still use C89. I've never found a language I like better. It has everything I need and my compiler usually produces the assembler I would have written anyway, and much more quickly. The (cast) operator is my favourite feature. I never bothered to implement typedefs, unions, or gotos, though: no language is perfect and I think they were not such good ideas.

Reply via email to