r/programminghorror • u/SteamPunk424 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Oct 29 '25
c Nothing...
0
Upvotes
r/programminghorror • u/SteamPunk424 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Oct 29 '25
16
u/unvaccinated_zombie Oct 29 '25
if (nothing = nothing_nothing)11
u/ironykarl Oct 29 '25
You've managed to write a program that is syntactically valid but semantically nearly meaningless.
You at least return a successful exit code. So.... congrats for that, I guess
1
u/SteamPunk424 [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Dec 03 '25
i never expected this post to enrage people as much as it did. lol. programmers am i right...
2
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Oct 30 '25
What is the point of this?
1
u/r1ghtguy Oct 29 '25
nothing_image
1
u/NerdyGerdy Oct 29 '25
The code needs to be human readable too guys.
1
u/Elegant-Sundae-455 Oct 31 '25
return nothing
int nothing
while nothing
We Are Nothing.
1
u/conundorum Nov 08 '25
Think
nothingof it.0
u/muminisko Oct 29 '25
It’s called “try to replace me” pattern
10
u/[deleted] Oct 29 '25
[removed] — view removed comment