this post was submitted on 30 May 2024
328 points (98.0% liked)

Programmer Humor

19623 readers
1 users here now

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

founded 1 year ago
MODERATORS
 

Despite the obvious levity, this is actually serious. It was made by why the lucky stiff, a pretty prominent member of Ruby community, back in the day. This, however, was part of his mysterious burnout manifesto, for lack of better term. He really really bloody needed a break.

"programming is rather thankless. u see your works become replaced by superior ones in a year. unable to run at all in a few more."

top 20 comments
sorted by: hot top controversial new old
[–] Toes@ani.social 41 points 6 months ago (6 children)

Where does maintaining a 25MB perl script fall into.

[–] camr_on@lemmy.world 22 points 6 months ago

My condolences

[–] PlexSheep@infosec.pub 13 points 5 months ago

I think that's larger than my kernel binary.

[–] Kerb@discuss.tchncs.de 5 points 5 months ago

into depression i guess

[–] SpaceNoodle@lemmy.world 26 points 6 months ago* (last edited 6 months ago) (1 children)

Documentation should be larger than code.

Tests as well.

[–] umbraroze@lemmy.world 11 points 6 months ago (1 children)

Tests as well.

In most programming languages, yes.

In Ruby? ...eeeeeeeehhhhhhhhh.

[–] SpaceNoodle@lemmy.world 7 points 6 months ago

Programming, not Ruby.

[–] xmunk@sh.itjust.works 20 points 6 months ago (1 children)

Where does "Suddenly realizing why they call it DLL hell" fall on the scale?

[–] nyan@lemmy.cafe 4 points 5 months ago

Between "One too many nulls" and "The tests are larger . . ." in the beginning, then moving up one notch for each day you've been wrestling with it.

[–] redcalcium@lemmy.institute 17 points 5 months ago (1 children)

the tests are now larger than the thing itself

The purpose of the code is to make the tests pass.

[–] ChaoticNeutralCzech@feddit.de 8 points 5 months ago

The purpose of code is to solve a problem but don't tell that to the newbies or they reduce the PHP codebase you spend full time managing to 10% that in Rust and take your job.

[–] tyler@programming.dev 10 points 6 months ago

I miss why... he was what everyone really needed, and the industry destroyed him. I haven't seen anyone like him since.

[–] nullPointer@programming.dev 9 points 6 months ago (1 children)

50,000? thems rookie numbers.

[–] Sylvartas@lemmy.world 1 points 5 months ago

laughs in unreal engine

[–] asyncrosaurus@programming.dev 5 points 5 months ago

the tests are now larger than the thing itself

Is such a weird complaint. You should aim for your codebase to be as small, simple and readable as possible, while your tests should be a specification that guarantees behavior is consistent between refactors. When you add behavior, you add tests, when you remove a behavior, you delete tests.

The size of either is independent of eachother. Small code bases that provide lots of features should be simple to read, but with a lot of tests.

[–] Celofyz@lemmy.world 4 points 6 months ago

I always tought that it's a norm to have more code in tests than in tested program

[–] CaptPretentious@lemmy.world 1 points 5 months ago

I was building up some packer stuff. Vsphere-iso plug-in. Tests were going fine and then for reasons I didn't understand it said it could no longer find the cd creation tool it has just been using.

So I try a few things, nothing works. So I figure I have nothing to lose, I make a new folder to house all the tools in one place. Update Windows system environment path. Restart everything. VScode didn't have my path statement, Google is of 0 fucking help, and now packer doesn't work. I least it's the weekend now.