this post was submitted on 20 Dec 2024
968 points (97.2% liked)

Programmer Humor

35596 readers
101 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) 26 comments
sorted by: hot top controversial new old
[–] [email protected] 29 points 4 months 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] -1 points 4 months ago (1 children)

why do beards make men shitheels ?

even santa only gives the good stuff to rich kids

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

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

Let me reach around mine to give you an upvote.

[–] [email protected] 12 points 4 months ago (2 children)
[–] [email protected] 23 points 4 months 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 4 months ago (11 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 4 months ago (1 children)

@masterspace "Undeclared variable" is a runtime error.

Perl.

[–] [email protected] 2 points 4 months ago* (last edited 4 months ago) (1 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?

[–] [email protected] 2 points 4 months ago (8 children)

@masterspace

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

"Undeclared variable" is a compile-time error.

load more comments (8 replies)
load more comments (10 replies)
load more comments (2 replies)
[–] [email protected] 0 points 4 months ago

Plants are alive!

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

There is also PHP

load more comments (1 replies)
[–] [email protected] 0 points 4 months 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 4 months 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 4 months ago

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

Capitalists.

[–] [email protected] 27 points 4 months ago (1 children)

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

[–] [email protected] 33 points 4 months ago (2 children)

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

[–] [email protected] 23 points 4 months ago (2 children)

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

[–] [email protected] 4 points 4 months 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 ›