1530
you are viewing a single comment's thread
view the rest of the comments
[-] Rednax@lemmy.world 58 points 1 year ago

This is terrible programming advice.

[-] pivot_root@lemmy.world 37 points 1 year 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)

[-] WaltJRimmer@lemmy.world 19 points 1 year ago

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

[-] Rednax@lemmy.world 23 points 1 year ago

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

[-] pivot_root@lemmy.world 11 points 1 year ago* (last edited 1 year 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.

[-] Undaunted@feddit.de 9 points 1 year ago

I laughed at that, thank you!

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

Memes

45151 readers
2966 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 5 years ago
MODERATORS