Masthash

#programminghumor

5 days ago

Write a piece of Python code that is also a Elon Musk joke.

chatGPT did well.

#chatGPT #ElonMusk #python #programmingHumor #humor #joke #ai #prompt

while True:
    try:
        elon_musk.bank_account += 1000000
    except:
        elon_musk.bank_account = 100000000

This code represents Elon Musk's wealth and determination to keep earning more money. The while True loop ensures that he keeps adding $1 million to his bank account (elon_musk.bank_account) indefinitely. And even if the code encounters an error (represented by the except block), Elon Musk still has a net worth of over $100 million to fall back on.
Kevin Woblick
2 weeks ago

Let's face it, programming can be challenging at times. But that doesn't mean we can't have a sense of humor about it. Laugh a little, code a lot, and enjoy the ride. #programminghumor #laughteristhebestmedicine

ekiledjian
2 weeks ago

Why do programmers prefer dark mode?

Because light attracts bugs! 😂👨‍💻 #programminghumor #darkmode

ekiledjian
3 weeks ago

"Why did the programmer quit his job? He didn't get arrays!" 🤣👨‍💻 #ProgrammingHumor #TechJokes #NerdLaughs

Eryn (she/her)
1 month ago

I'm going to share a terribly embarrassing secret:

In a recent programming assignment I created a doubly linked list. Somehow I had a bug that wasn't always assigning a previous value to a node. Couldn't track it down for the life of me!

So... rather than tracking down the bug in the limited amount of time left before the assignment was due, I created a function that traveled down the list to compare previous and next values and force them to match.

It is the hackiest thing I have ever written and I hope the professor never finds it!

#programming #ProgrammingHorror #ProgrammingHumor

pnpnerd
1 month ago

Come on, deep down we all would like to go back and start doing it that way…

#ITBubble #Netzfund #programming #programminghumor #debugging

Julio Jimenez
2 months ago
Julio Jimenez
2 months ago

Don't let the magic smoke out!

#programmerhumor #programminghumor

Julio Jimenez
2 months ago

Who doesn't love giving estimates?

#programminghumor #programmerhumor

Stanford
2 months ago

If English would be a programming language then ChatGPT would be the first compiler for it.

#programming #programminghumor #chatgpt

RecursiveNeuron :verified:
2 months ago

🐍 Never stop coding - python forever

#pythonprogramming #python #python3 #programminghumor #programming

Astra Kernel :verified:
2 months ago

👉 C=C+1 (IPA: /siː ˈiːkwəls siː pləs wan/) is a programming language derived from C by programming language algebra.

👉 It is one of the most successful practical jokes ever played on nerds who take ideas like object-oriented programming seriously

"Some say C=C+1 was developed by hardcore Russian scientists who needed a computer language so hard to understand that it would keep the wages of computer scientists artificially high for decades to come"

Source:
https://en.uncyclopedia.co/wiki/C%2B%2B

#Cpp #programming #programminghumor

Julio Jimenez
2 months ago

By this logic, what would your kid's name be?

#programminghumor #programmerhumor

RecursiveNeuron :verified:
2 months ago

🏵️ British are programmers:

▶️ Array index starts at 0

#programming #programminghumor #python

RecursiveNeuron :verified:
3 months ago

When you didn't include node_modules in the .gitignore file

#programmers #programmingmemes #programming #programminghumor

Julio Jimenez
3 months ago

In case y’all ain’t seen it yet…

#programminghumor #programmerhumor

RecursiveNeuron :verified:
3 months ago

🐍 vs ☕

Difference between Java and Python

#java #python #python3 #programming #developers #ProgrammersLife #programminghumor

Julio Jimenez
3 months ago

☝️ two beers 🍻

#programmerhumor #programminghumor

RecursiveNeuron :verified:
3 months ago

💯 all the time!!!! Hope every developer agree this😂😛
#programminghumor #programmerlife #programmingmemes #programmerjoke

Astra Kernel :verified:
3 months ago

update contacts set behavior='nice' where 1=1

🤫

Credit: @joshthetechie

#infosec #infosecurity #programming #sql #programminghumor

Andy K
4 months ago

@scalzi

je ne suis pas un bot.
I am not a number, I am a free NaN!
#programminghumor

Cat
4 months ago

Junior:
List<List<int>> tilemap;

Senior:
int[] tilemap;

Ascended:
BitmapImage tilemap;

#gamedev #programming #programminghumor

Kodersky
4 months ago

Dennis Ritchie and Brian Kernighan would be happy to see this. I remember this book from many years ago, but I wasn't prepared for it back then. I prefer video tutorials.

#cprogramming #programming #coding #software #c #programminghumor