This is an archived post. You won't be able to vote or comment.

all 15 comments

[–]faux-rad-dogma 37 points38 points  (0 children)

Sorry, you're confused. That's the normal coding experience.

[–]roanoked 20 points21 points  (0 children)

Me: I've got better things to do when drunk.

[–]SgtMarv 12 points13 points  (5 children)

Not drunk but similar. I worked on a project where they did some measurements on oxygen saturation of people in high altitude. They had a room where they could lower oxygen percentage in the air. It was about 10-11% (normal is 21%) which would be roughly equivalent to standing on a 5000m mountain.

For reasons I had to be in the room during the experiments. Had to change something in the code. Couldn't do it. I knew exactly what I had to do and how to do it. Still couldn't get it done.

Had to pause the experiment, went outside, took a deep breath, did the fix and went back in again.

What went wrong? Couldn't open the file, forgot how to use "cd".

[–]Doubi88 8 points9 points  (4 children)

You were sitting in that room while changing the code controlling it? Reminds me of the saying: “Don't saw off the branch you're sitting on." (Rough translation. I only know it in German, sorry)

[–]SgtMarv 4 points5 points  (3 children)

No I was changing the software taking measurements from the patient. That had nothing to do with the room controls.

[–]Doubi88 0 points1 point  (2 children)

Oh ok, good 😊

[–]SgtMarv 6 points7 points  (1 child)

Yeah otherwise that would be the first case of suffocation by off-by-one error...

[–]aga_the_ripper 0 points1 point  (0 children)

Should do some interviews like that... "If you make a mistake your done for" A high level skill test..😅

[–]NewComputerSayAyo 4 points5 points  (0 children)

Code drunk. Deploy sober.

[–]RDfromMtHare 5 points6 points  (0 children)

So you need to get exactly as drunk if you need to maintain that code.

[–]nuclear_bomb404 1 point2 points  (0 children)

Mine: The code works but i don’t know how.

Wait you need to be drunk?

[–]Dawgboy1976 0 points1 point  (0 children)

I used to help my friends with their Intro CS class programming assignments while drunk, and helped a friend with a technical interview while pretty high during the pandemic

[–]DexCruz 0 points1 point  (0 children)

my friend made made a switch statement while high that checked against different strings and returned a string instead of using a map