r/ProgrammerHumor • • 28d ago

Meme unhappyCrustaceans

Post image
182 Upvotes

13 comments sorted by

19

u/Daemontatox 28d ago

How dare thee leave that boolean unintialized ?

9

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

5

u/Noname_1111 28d ago

something something law of the excluded middle

2

u/Anaxamander57 27d ago

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

11

u/gpkgpk 27d ago

Under the C

Under the Ceeeeeeeeeeeee

6

u/GresSimJa 27d ago

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

1

u/intoxicuss 27d ago

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

1

u/gpkgpk 27d ago

I get chills just thinking about ASM.

5

u/afl_ext 27d ago

Imagine if rust had

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

5

u/Confronting-Myself 27d ago

the humble unsafe:

3

u/Anaxamander57 27d 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.

1

u/overclockedslinky 23d ago

using rustc directly is already a bad move