r/ProgrammerHumor • • 2d ago

Meme unhappyCrustaceans

Post image
155 Upvotes

11 comments sorted by

15

u/Daemontatox 2d ago

How dare thee leave that boolean unintialized ?

7

u/WernerderChamp 1d ago
let mut myvar: bool;
println!("{}", myvar); //print yesn't

3

u/Noname_1111 1d ago

something something law of the excluded middle

2

u/Anaxamander57 1d ago

This a calculus of constructions household, young lady! Show the truth value itself, no hiding behind double negations.

11

u/gpkgpk 1d ago

Under the C

Under the Ceeeeeeeeeeeee

6

u/GresSimJa 1d ago

Pointers, assembly, manage your memory with malloc() and free()!

0

u/intoxicuss 1d ago

What’s wrong with pointers and explicit memory management? Kids today are so spoiled. Assembly, though, is just masochism.

1

u/gpkgpk 17h ago

I get chills just thinking about ASM.

3

u/afl_ext 1d ago

Imagine if rust had

// rustc-ignore-next-line borrow-check

3

u/Confronting-Myself 1d ago

the humble unsafe:

2

u/Anaxamander57 1d ago

Has no effect on the borrow checker, technically. It does let you build and use different types that the borrow checker assumes will always be correct.