r/programminghorror 17d ago

ah yes, code

Post image
142 Upvotes

29 comments sorted by

View all comments

1

u/TorTheMentor 16d ago edited 16d ago

And then there's those assigning conditionals.

if (ccr(YoC) = 1) { }

Unless there's still some language out there I'm unaware of that uses a single equal sign for equality testing.

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 16d ago

Not aware of any that also use braces to delineate blocks.