r/ProgrammerHumor • • 20d ago

Meme unhappyCrustaceans

Post image
179 Upvotes

13 comments sorted by

19

u/Daemontatox 20d ago

How dare thee leave that boolean unintialized ?

9

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

5

u/Noname_1111 19d ago

something something law of the excluded middle

2

u/Anaxamander57 19d ago

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

11

u/gpkgpk 19d ago

Under the C

Under the Ceeeeeeeeeeeee

6

u/GresSimJa 19d ago

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

1

u/intoxicuss 19d ago

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

1

u/gpkgpk 18d ago

I get chills just thinking about ASM.

5

u/afl_ext 19d ago

Imagine if rust had

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

5

u/Confronting-Myself 19d ago

the humble unsafe:

3

u/Anaxamander57 19d 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 15d ago

using rustc directly is already a bad move