1535
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 58 points 2 years ago

This is terrible programming advice.

[-] [email protected] 37 points 2 years ago

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)

[-] [email protected] 19 points 2 years ago

I never knew my Set Theory professor was so against workers' rights!

[-] [email protected] 23 points 2 years ago

My C++ teacher taught me to be against unions. He made everything class based instead.

[-] [email protected] 11 points 2 years ago* (last edited 2 years ago)

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.

[-] [email protected] 9 points 2 years ago

I laughed at that, thank you!

this post was submitted on 23 Aug 2023
1535 points (98.5% liked)

Memes

51325 readers
489 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS