longish programming story (you don't have to know programming) 

story time

one time i did a programming assignment where you were supposed to write some code and then later, explain to a TA why you wrote the code the way you did and how it works. i had written my code like a week earlier and it was the day where we had to justify it

so i waited in line for my turn with the TA and they asked my name and pulled up the code

"so, how does this function here work?"

"ah, hm. well, it works like [etc etc etc]. but that's a pretty ugly way to do it. i don't know why i wrote it that way. i SHOULD have done [something else]"

"i see. why did you do this weird thing?"

"jesus, i have no idea. i'd normally write it [this other way]... the reason this works is [etc etc etc] but it's not exactly pretty to use that for this. don't remember why i chose to do that this time."

"hm. okay. how come you have mixed space and tab indentation?"

"...uh. i use tabs in my own code but i know that this class's style guide mandates spaces, so i always just run it through a sed script to convert the tabs to spaces. something must have gone wrOH MY GOD THIS IS A DIFFERENT [deadname]'S CODE"

longish programming story (you don't have to know programming) 

@monorail yup you definitely wrote that code. that's a huge mood.

re: longish programming story (you don't have to know programming) 

@KitRedgrave no i actually didn't, it was legitimately someone else's code that they had pulled up

Follow

re: longish programming story (you don't have to know programming) 

@monorail @KitRedgrave was it an accident or on purpose?

re: longish programming story (you don't have to know programming) 

re: longish programming story (you don't have to know programming) 

@noiob @KitRedgrave they had the same name as me and i wasn't paying attention when i saw the email address like "yeah that's me"

re: longish programming story (you don't have to know programming) 

@monorail @KitRedgrave ah

though explaining someone else's code would be a good test, given that the code isn't too bad

Sign in to participate in the conversation
Awoo Space

Awoo.space is a Mastodon instance where members can rely on a team of moderators to help resolve conflict, and limits federation with other instances using a specific access list to minimize abuse.

While mature content is allowed here, we strongly believe in being able to choose to engage with content on your own terms, so please make sure to put mature and potentially sensitive content behind the CW feature with enough description that people know what it's about.

Before signing up, please read our community guidelines. While it's a very broad swath of topics it covers, please do your best! We believe that as long as you're putting forth genuine effort to limit harm you might cause – even if you haven't read the document – you'll be okay!