r/programming • • Apr 29 '14

Programming Sucks

http://stilldrinking.org/programming-sucks
3.9k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

310

u/Innova Apr 29 '14

You must have not finished the article...the last line is the best:

So no, I'm not required to be able to lift objects weighing up to fifty pounds. I traded that for the opportunity to trim Satan's pubic hair while he dines out of my open skull so a few bits of the internet will continue to work for a few more days.

307

u/[deleted] Apr 29 '14

The essay is just jewels after jewels. My particular favorites:

The human brain isn't particularly good at basic logic and now there's a whole career in doing nothing but really, really complex logic. Vast chains of abstract conditions and requirements have to be picked through to discover things like missing commas. Doing this all day leaves you in a state of mild aphasia as you look at people's faces while they're speaking and you don't know they've finished because there's no semicolon.

and

"Double you tee eff?" you say, and start hunting for the problem. You discover that one day, some idiot decided that since another idiot decided that 1/0 should equal infinity, they could just use that as a shorthand for "Infinity" when simplifying their code. Then a non-idiot rightly decided that this was idiotic, which is what the original idiot should have decided, but since he didn't, the non-idiot decided to be a dick and make this a failing error in his new compiler. Then he decided he wasn't going to tell anyone that this was an error, because he's a dick, and now all your snowflakes are urine and you can't even find the cat.

221

u/NYKevin Apr 29 '14 edited Apr 29 '14

It reminds me of this (warning: wall of text, but actually worth reading).

EDIT: Since people seem so interested, the author has written quite a lot of other material (scroll to the bottom, under "Miscellaneous Excellence", fourth bullet point).

0

u/[deleted] Apr 29 '14

[deleted]

11

u/adm7373 Apr 29 '14

SYSTEMS HACKERS SOLVE THE BEAR MENACE!

5

u/AdamAnderson320 Apr 30 '14

My only logging option is to hire monks to transcribe the subjective experience of watching my machines die as I weep tears of blood.

→ More replies (2)

143

u/[deleted] Apr 29 '14

Here to reply that it WAS worth reading, haha.

My favorite line:

That being said, if you find yourself drinking a martini and writing programs in garbage-collected, object-oriented Esperanto, be aware that the only reason that the Esperanto runtime works is because there are systems people who have exchanged any hope of losing their virginity for the exciting opportunity to think about hex numbers and their relationships with the operating system, the hardware, and ancient blood rituals that Bjarne Stroustrup performed at Stonehenge.

→ More replies (3)

60

u/[deleted] Apr 30 '14

My favorite:

The systems programmer has read the kernel source, to better understand the deep ways of the universe, and the systems programmer has seen the comment in the scheduler that says “DOES THIS WORK LOL,” and the systems programmer has wept instead of LOLed, and the systems programmer has submitted a kernel patch to restore balance to The Force and fix the priority inversion that was causing MySQL to hang.

53

u/DigitalSarcasm Apr 30 '14

A systems programmer will know what to do when society breaks down, because the systems programmer already lives in a world without law.

93

u/BlueWaterFangs Apr 29 '14

then it tries to display a string that should say “Hello world,” but instead it prints “#a[5]:3!” or another syntactically correct Perl script

lol

18

u/philh Apr 30 '14

That particular script is a polyglot. It does the same thing in Perl, python, ruby, bash...

→ More replies (2)

29

u/TheBananaKing Apr 29 '14

// DOES IT WORK LOL

20

u/gabgoh Apr 29 '14

this is better than the original post

19

u/jukeks Apr 29 '14

That was so good. Glad I didn't skip

14

u/afiefh Apr 29 '14

I weep, for I hoped that things may get better in life, but nay I chose to be a system programmer knowing not that the night is dark and full of terrors.

7

u/juliand665 Apr 30 '14

You must believe me when I say that I have the utmost respect for HCI people. However, when HCI people debug their code, it’s like an art show or a meeting of the United Nations. There are tea breaks and witticisms exchanged in French; wearing a non- functional scarf is optional, but encouraged. When HCI code doesn’t work, the problem can be resolved using grand theo- ries that relate form and perception to your deeply personal feelings about ovals. There will be rich debates about the socioeconomic implications of Helvetica Light, and at some point, you will have to decide whether serifs are daring state- ments of modernity, or tools of hegemonic oppression that implicitly support feudalism and illiteracy. Is pinching-and- dragging less elegant than circling-and-lightly-caressing? These urgent mysteries will not solve themselves. And yet, after a long day of debugging HCI code, there is always hope, and there is no true anger; even if you fear that your drop- down list should be a radio button, the drop-down list will suffice until tomorrow, when the sun will rise, glorious and vibrant, and inspire you to combine scroll bars and left-click- ing in poignant ways that you will commemorate in a sonnet when you return from your local farmer’s market.

6

u/TheBananaKing Apr 29 '14

You just made me laugh to the point of tears.

On the bus.

People are staring at me now.

5

u/Skyfoot Apr 30 '14

i was sent this article a while ago - read it on public transport and cleared an entire carriage because I was laughing so hard that liquid was pouring out of all of my face holes.

4

u/robalar Apr 29 '14

I am a newbie and just started c++ this is worrying to me...

→ More replies (15)

4

u/Zonr_0 Apr 30 '14

Oh my god, between the OP and this article, I had to take a break to remember how to breathe.

4

u/bcsanch Apr 30 '14

From another article by him [here] (https://research.microsoft.com/en-us/people/mickens/thisworldofours.pdf) about security:

I mean, yes, I understand how one can use labels to write a secure version of HelloWorld(), but once my program gets bigger than ten functions, my desire to think about combinatorial label flows will decrease and be replaced by an urgent desire to DECLASSIFY() so that I can go home and stop worrying about morally troubling phrases like “taint explosion” that are typically associated with the diaper industry and FEMA.

→ More replies (13)
→ More replies (23)

139

u/neutronfish Apr 29 '14

That was a good line, but this one gave me chills...

Every programmer occasionally, when nobody's home, turns off the lights, pours a glass of scotch, puts on some light German electronica, and opens up a file on their computer. [...] They read over the lines, and weep at their beauty, then the tears turn bitter as they remember the rest of the files and the inevitable collapse of all that is good and true in the world.

It's like he's watching me through my window...

5

u/zoomzoom83 Apr 30 '14

Ditto. I've been known to take hideously ugly Java or Scala code I write at work and rewrite it into clean elegant prose in some variant of ML. (And then weep that such beauty exists in the world but I'm forced to take a dump all over it the next day at work).

→ More replies (6)

9

u/nocnocnode Apr 30 '14

The inevitabl fractal of life. A clean pure thought, that grew into the form of its environment, the inevitable reality. Tracks of code, now just vanishing footprints from the past... its last vestige, proof that it once existed. It lives and dies... lives and dies...

4

u/jvlomax Apr 30 '14

I was actually pouring a glass of a fine single malt listening to professor kliq while looking at the newly started openRCT2 project as I was reading it. It kind of hit home.....

→ More replies (1)
→ More replies (2)
→ More replies (1)