this post was submitted on 30 May 2024
327 points (97.9% liked)

Programmer Humor

19623 readers
507 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
[–] [email protected] 41 points 5 months ago (6 children)

Where does maintaining a 25MB perl script fall into.

[–] [email protected] 22 points 5 months ago

My condolences

[–] [email protected] 17 points 5 months ago
[–] [email protected] 13 points 5 months ago

I think that's larger than my kernel binary.

[–] [email protected] 13 points 5 months ago
[–] [email protected] 4 points 5 months ago

into depression i guess

[–] [email protected] 26 points 5 months ago* (last edited 5 months ago) (1 children)

Documentation should be larger than code.

Tests as well.

[–] [email protected] 11 points 5 months ago (1 children)

Tests as well.

In most programming languages, yes.

In Ruby? ...eeeeeeeehhhhhhhhh.

[–] [email protected] 6 points 5 months ago

Programming, not Ruby.

[–] [email protected] 20 points 5 months ago (1 children)

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

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 10 points 5 months ago

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

[–] [email protected] 9 points 5 months ago (1 children)

50,000? thems rookie numbers.

[–] [email protected] 1 points 5 months ago

laughs in unreal engine

[–] [email protected] 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.

[–] [email protected] 4 points 5 months ago

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

[–] [email protected] 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.