this post was submitted on 20 Dec 2024
934 points (97.1% liked)

Programmer Humor

32716 readers
519 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 24 comments
sorted by: hot top controversial new old
[–] [email protected] 27 points 2 days ago (9 children)

If a chicken could code, it would probably work like JavaScript. This is accurate.

When I had a flock, for example, sometimes one would flip over a bucket onto itself and then decide it must be night and go to sleep.

load more comments (9 replies)
[–] [email protected] -2 points 2 days ago (1 children)

why do beards make men shitheels ?

even santa only gives the good stuff to rich kids

[–] [email protected] -2 points 2 days ago* (last edited 2 days ago)

Look at those butthurt downvotes, haha. Currently 2 - 4.

Let me reach around mine to give you an upvote.

[–] [email protected] 10 points 2 days ago (2 children)
[–] [email protected] 22 points 2 days ago (3 children)

I’ve been programming in typescript recently, and can I say. I fucking hate JavaScript and typescript. It’s such a pain so much odd behaviors.

[–] [email protected] -3 points 2 days ago (9 children)

Lol name one outside of it's well known equality rules that linters check for.

Also, name the language you think is better.

Because for those of us who have coded in languages that are actually bad, hearing people complain about triple equals signs for the millionth time seems pretty lame.

[–] [email protected] 4 points 2 days ago (1 children)

@masterspace "Undeclared variable" is a runtime error.

Perl.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago) (9 children)

A) yes, that's how interpreted languages work.

B) the very simple, long established way to avoid it, is to configure your linter:

https://eslint.org/docs/latest/rules/no-undef

I haven't used Perl though, what do you like better about it?

load more comments (9 replies)
load more comments (8 replies)
load more comments (2 replies)
[–] [email protected] 0 points 2 days ago

Plants are alive!

[–] [email protected] 24 points 2 days ago (2 children)
[–] [email protected] 39 points 2 days ago

There is also PHP

load more comments (1 replies)
[–] [email protected] 0 points 2 days ago (1 children)

Our mass media can incite fear of chickens, pigs, and cattle. Then their existence itself can be defined as a terrorist act. We'll redefine vegan to mean only those that eat terrorists to save the other animals. Actual vegans can call themselves "vegetablers". Nothing changes and everyone feels good because if they don't feel good then they're not human.

[–] [email protected] 2 points 2 days ago (1 children)

If the existence is a terroristic act how do you call farmers who breed these creatures on purpose? I guess the new 'vegans' could then eat the very last generation of terroristic animals and then everyone needs to go 'vegetabler'. I guess that doesn't sound too bad to those that are vegetabler on purpose. ;)

[–] [email protected] 0 points 2 days ago

If the existence is a terroristic act how do you call farmers who breed these creatures on purpose?

Capitalists.

[–] [email protected] 27 points 2 days ago (1 children)

Wait, do vegetables have good feelings or evil ones??

[–] [email protected] 32 points 2 days ago (2 children)

Even more evil, trust me, I lived with one once

[–] [email protected] 22 points 2 days ago (2 children)

I find the hardest part about eating vegetables is getting around the wheelchair.

[–] [email protected] 4 points 2 days ago

Replace the bathtub with a cooking pot and you'll have your vegetables slide in just like that.

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: ‹ prev next ›