this post was submitted on 23 Aug 2023
1524 points (98.5% liked)
Memes
45891 readers
1567 users here now
Rules:
- Be civil and nice.
- Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is terrible programming advice.
Blasphemy! Unions are just algebraic data types without any guardrails. If the programmer misuses them, that's their own fault for b$:, 9^\⊂ƒ~>[→ZzF™×#
Segmentation fault (core dumped)
I never knew my Set Theory professor was so against workers' rights!
My C++ teacher taught me to be against unions. He made everything class based instead.
How reckless, encouraging inheritance like that. My ~~personal demon~~ college tutor instructed me on the ways of Malbolge. In the end, life is just a list of self-modifying instructions.
I laughed at that, thank you!