If debugging is the process of removing bugs, then programming must be the process of creating them.
A wife asks her husband, a software engineer…
“Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6!” A short time later the husband comes back with 6 cartons of milk. The wife asks him, “Why the hell did you buy 6 cartons of milk?” He replied, “They had eggs.”
An SQL query walks into a bar, approaches two tables and asks, “Mind if I join you?”
read the responses to that question and one stood out
mothering reverse indentation?
who the hell came up with that
(What was the strangest coding standard rule that you were forced to follow? - Stack Overflow)
reverse indentation. For example:
for(int i = 0; i < 10; i++)
{
myFunc();
}
and:
if(something)
{
// do A
}
else
{
// do B
}
edit: pasted response for convenience
And for @mbaxter:
I absolutely died to that last one. Took like 30 seconds to type this sentence because I’m laughing too hard.
That last one is SOOOO TRUE!
Yeah… There are few things as disappointing as getting really excited about someone else’s project, installing it, hitting an error, and then discovering that it’s been abandoned for 5+ years.
sudo @DotDash post another set of pictures.
sudo @DotDash post more programming jokes
command line russian roulette:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo Click
I’m half tempted to try my luck on my VM…
Trying it in a VM is like trying the real thing with a water gun
Just try it.
postmustbeatatleast15chars-tag