132 points

This could be so much longer.

Killing children, class systems, so many programming language names, the ridiculous ways equality and order-of-operations are done sometimes. Plenty of recursion jokes to be made. Big O notation. Any other ideas?

permalink
report
reply
37 points

GOTO

permalink
report
parent
reply
42 points

GOTO is the only thing that makes sense. It’s the “high-level” concepts like for-loops, functions and list comprehension that ruined programming.

series.append(series[k-1]+series[k-2]) for k in range(2,5)]

RAVINGS DREAMT UP BY THE UTTERLY DERANGED

permalink
report
parent
reply
15 points

I started coding with TurboBasic, which included the helpful innovation of GOTO {label} instead of GOTO {line number}, which allowed you to have marginally-better-looking code like:

GOTO bob

bob:
{do some useless shit}
return

which meant you essentially had actual, normal methods and you didn’t have to put line numbers in front of everything. The problem was that labels (like variables) could be as long as you wanted them to be, but the compiler only looked at the first two letters. Great fun debugging that sort of nonsense.

permalink
report
parent
reply
14 points
*

if goto make sense why don’t you go to get some bitches

permalink
report
parent
reply
32 points

Big Orgasm notation

permalink
report
parent
reply
19 points

A monad is just a monoid in the category of endofunctors.

permalink
report
parent
reply
11 points
*

Masters and slaves

Cloning

Deploying code (that’s what you do with soldiers!!!1)

Using Git to rewrite history.

Atomic values (like the bomb!)

These people are madmen.

permalink
report
parent
reply
7 points

One of the slave node’s child process failed, so the master node sent a signal to terminate the child and restart the slave

There’s pretty solid reason my research group is pushing to use “head node and executor nodes” nomenclature rather than the old-school “master node and slave nodes” nomenclature, haha

permalink
report
parent
reply
4 points

The only reason I enjoy C++ is because I can cast destroy on children and it’s parents if they’re present in the world

permalink
report
parent
reply
3 points

Floating point operations with decimals not always adding up

permalink
report
parent
reply
1 point

They always must add up - if they added down then they wouldn’t be floating points now would they!

permalink
report
parent
reply
120 points
*

while (true) { print(money) }

isn’t that just crypto mining?

permalink
report
reply
28 points

Three years ago, yes. Now? not so much.

permalink
report
parent
reply
12 points

i mine monero while idle and it prints a massive 0.03GBP a day :)

permalink
report
parent
reply
15 points

Serious question, wouldn’t it be cheaper to buy it?

permalink
report
parent
reply
3 points

And how much does it cost you in electricity?

permalink
report
parent
reply
13 points

JavaScript will actually open the print dialog.

permalink
report
parent
reply
4 points

This is basically what the bank are doing when you get a loan.

When you get a $25k loan from a bank the banker does not take money from somewhere to put it in your bank account. The banker basically just add a +25k in your bank account that comes from nowhere.

permalink
report
parent
reply
46 points
*
Deleted by creator
permalink
report
reply
21 points

Crypto, eh?

permalink
report
parent
reply
5 points
*
Deleted by creator
permalink
report
parent
reply
1 point

Man, this must just be a right of passage for working as a SWE or MLE at this point. I’ve heard this pitch from coworkers/managers more than once.

permalink
report
parent
reply
18 points

Depending on what your coworker actually intended to do, you might want to let them know that printers have features built in to make their output traceable, specifically intended for catching counterfeiters.

permalink
report
parent
reply
12 points
*

That’s one of these things that sounds like a crazy conspiracy theory the first time you hear about it, but it’s true

Edit: haven’t actually clicked the link. I mean the yellow dots which the printer makes which is directly traceable to your printer: https://en.m.wikipedia.org/wiki/Machine_Identification_Code

Basically all printer manufacturers entered a secret contract with governments.

permalink
report
parent
reply
6 points

So, uhh… what did the print(money) part look like? Asking for a friend.

permalink
report
parent
reply
34 points

I actually have that teapot and I use it several times a week.

permalink
report
reply
10 points

Beautiful teapot dude!

permalink
report
parent
reply
14 points
*

Thanks! In computer graphics it’s referred to as the “Utah teapot” because the 3D model was created at the University of Utah. But it was originally a Melitta brand teapot. It is still manufactured by German company Friesland, which I bought it from.

Unfortunately it appears they recently had a fire and their webshop is temporarily closed, but I think you can also get it off of Amazon.

permalink
report
parent
reply
4 points

I read once that the original model didn’t have a bottom surface? Idk but I suspect that’s why it’s referred to as useless in the meme.

permalink
report
parent
reply
2 points

Absolutely dope. How does it pour?

permalink
report
parent
reply
2 points

Liquid

permalink
report
parent
reply
2 points

I’m more of a computer-science geek than a tea geek, so all I can say is that it pours without spilling. You won’t get a laminar flow out of it or anything like that.

permalink
report
parent
reply
1 point

That works. It’s pretty easy to find a teapot that spills all over the place.

permalink
report
parent
reply
1 point

i need to get one of these someday hahaha

permalink
report
parent
reply
28 points

Cat is a fluffy animal, not for reading shit

permalink
report
reply
36 points

permalink
report
parent
reply
8 points

Writing ‘echo’ cannot do anything. Everyone knows echo works with sound only.

permalink
report
parent
reply
6 points

Cat is a fluffy animal, and for shreading shit

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7K

    Monthly active users

  • 950

    Posts

  • 35K

    Comments