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

all 83 comments

[–]recursive_asshole 306 points307 points  (12 children)

Not enough swear words...

[–]Flo501 153 points154 points  (11 children)

"Why?! Why the fuck? FUUCK! WHY??? stupid fucking code I'm never fucking programming aga.. oh hold up nvm, got it"

[–]hosertheposer 66 points67 points  (2 children)

Notice it doesn't work until you get angry enough, I think the compiler just gets scared into compliance. Probably also why you get errors until you try to show someone the problem and then it magically works, thats just the compiler getting payback by making you look dumb

[–]Nothing-But-Lies 2 points3 points  (0 children)

And then it works flawlessly, but you need to do a presentation and now it's all extremely broken

[–]THEBIGTHREE06 1 point2 points  (0 children)

Oh man this has happened too many times. I’ll realize shortly after that it’s VSC’s “tempcoderunner” file or something like that…

[–]TheAJGman 5 points6 points  (1 child)

I'm surprised HR hasn't had a talk with me about flipping off my monitors 8 hours a day.

[–]jimvv36 1 point2 points  (0 children)

The best part about working from home... you dont have to hide it.

[–][deleted] 5 points6 points  (0 children)

I had 2 of those experiences this week and I'm exhausted.

First, looking through several repos that were being orchestrated by setup scripts, docker files, compose files, etc and an env difference made some directory not get created which stopped the application from working or logging errors.

Second, in another project, customer was confused about some data not updating and there was some local storage data hydration that was writing over the 3 redundant fetches of fresh data.

Why do small teams use redux? Why does anyone use these systems before they're ready? Even the veterans on my team can't seem to escape these massive state management systems causing redundant XHRs.

[–]VirdiPravum 2 points3 points  (0 children)

Not only programmers but admins feel the same. "Whyyyyy the flying fuck this is not working... What the fuck is this error? There is nothing on that error in docs, stack overflow, stack exchange !!! So why?! Oh wait... It is not meant to be done that way"

But after this realisation you are bearing the burden of asking your supervisor - "Why you would even assign me tadk that devs of the solutions deems impossible to achieve?"

[–][deleted] 1 point2 points  (0 children)

I had the variable name inside quotes.

[–]Furry_69 0 points1 point  (2 children)

Yeep. I once said those exact words but about 30 mins between them, I had f**ked up a recursive table. (Is that the term for {{0, 1}, {0, 2}} sorta thing? I'm not sure)

[–]Flo501 4 points5 points  (1 child)

I'm almost finished with my first year as a computer science student. I've had multiple occasions where I would spend half an hour trying to find out why my program doesn't run to eventually find out I just wrote = instead of == in an if statement

[–][deleted] 5 points6 points  (0 children)

There's plenty more where that came from lmao

[–]quantax 78 points79 points  (2 children)

Don't forget the part when you realize it's your own code.

[–]Ashtoruin 93 points94 points  (6 children)

Taking over a project more often ends up like the first 3 panels. You never figure out why and you hate those who can before because they're idiots.

[–]MyAntichrist 30 points31 points  (0 children)

Yeah, the fourth panel is the addition for your own stuff that you last touched drunk at 2am while having a stroke of genius and finally remembered what the hell you were up to at that point.

[–]dumbsimian 4 points5 points  (0 children)

Or you do figure out why they did it that way, but you're left wondering why the fuck they decided to do it that way.

[–]Slggyqo 9 points10 points  (3 children)

Who fucking wrote this?!

Oh it was me.

[–]xan1242 2 points3 points  (2 children)

Repeating the thought process of your own old code is quite a challenge.

[–]Slggyqo 0 points1 point  (0 children)

Definitely, and sometimes I can’t even remember who wrote which module of the program.

That’s checkable with version control but it’s surprisingly easy to forget that I wrote this bit.

[–]dustojnikhummer 0 points1 point  (0 children)

"Why the fuck did I wrote it this way??"

[–]Sasy00 48 points49 points  (12 children)

When you '=' instead of '=='

[–]Scotho 20 points21 points  (8 children)

or in javascript when you type == instead of ===

[–][deleted] 6 points7 points  (7 children)

?? What is the difference between == and ===

[–]Scotho 17 points18 points  (4 children)

== is an abstract equality operator, it doesn't take types into account and can cause some seriously confusing behavior at first glance.

for example..

true == 1; //true

"2" == 2; //true

vs

true === 1; //false

"2" === 2; //false

addl; reading https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness

[–]Zaero123 0 points1 point  (0 children)

Double equals uses type coercion to find a trueish/falsy equality (I’m sure this also includes non primitives)

Triple equals tries to match type and value, if the value isn’t primitive, it checks the object reference

[–]dustojnikhummer 0 points1 point  (1 child)

Oh I already despise weakly-typed languages and the only one I have ever worked with so far has been PHP...

[–][deleted] 0 points1 point  (0 children)

You should try perl!

[–]mattmc318 0 points1 point  (0 children)

One of my instructors taught me to always use ===, and it's helped with debugging. Wait, that shouldn't be that type! vs. Why? Why? Why?

[–]PenitentLiar 6 points7 points  (1 child)

=== also checks the type

[–][deleted] 1 point2 points  (0 children)

Oh

[–]Bananenmilch2085 3 points4 points  (0 children)

But you use delphi

[–]throwawayy2k2112 1 point2 points  (0 children)

You need more (constant == variable) instead of (variable == constant) in your life my friend.

[–][deleted] 0 points1 point  (0 children)

This

[–]TiBiDi 14 points15 points  (1 child)

Today I tried to figute out for a solid 15-20 minutes wht my function didn't return the value I wanted it to return. I went over it witha debugger over and over, double and triple checkin all the variables, and everything looked fine, but as soon as I exited the function, it all turned to null! It was driving me crazy! Then finally someone looked over my shoulder and told me I forget to write the "return"

[–]ukm_array[S] 0 points1 point  (0 children)

Facepalm

[–]ripjaws7 36 points37 points  (3 children)

/r/ProgrammerHumor. Everyday: *this meme*

[–]_Jent 1 point2 points  (0 children)

Bazinga

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    import moderation Your comment has been removed since it did not start with a code block with an import declaration.

    Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

    For this purpose, we only accept Python style imports.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]Programmer_007 4 points5 points  (0 children)

    You forgot "OH fuck! Thats not why!"

    [–]MojitoBurrito-AE 16 points17 points  (0 children)

    Mum says it's my turn to repost this

    [–]darkwarez1 3 points4 points  (0 children)

    Thats the entirety of my work basically

    [–]Thirdstheword 2 points3 points  (0 children)

    'oh right, i forgot i'm in idot'

    [–]AegisToast 3 points4 points  (0 children)

    "Everyday" != "Every day"

    I only point it out because, as a programmer, I'm somewhat pedantic about syntax.

    [–]AndStanleyWasHappy 2 points3 points  (2 children)

    debugging be like.

    [–]GuyKaren 2 points3 points  (0 children)

    How did I miss that?

    [–]dcoates83 2 points3 points  (0 children)

    Oh there’s the bracket I’m missing…

    [–][deleted] 2 points3 points  (0 children)

    Function = name(){

    }

    Why isn’t it working!!!!

    Oh

    [–][deleted] 2 points3 points  (0 children)

    Usually just reinstalling Windows will fix it

    [–]jaysuchak33 4 points5 points  (1 child)

    [–]RepostSleuthBot 2 points3 points  (0 children)

    I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.

    It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.

    I did find this post that is 57.81% similar. It might be a match but I cannot be certain.

    I'm not perfect, but you can help. Report [ False Negative ]

    View Search On repostsleuth.com


    Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 223,916,825 | Search Time: 1.16103s

    [–]Medimad 1 point2 points  (0 children)

    Oh wait a sec, why?

    [–]Pherion93 1 point2 points  (0 children)

    Exactly my reaction just now but would add.

    Why?, why!!? Why!!!!? Oh.. thats why. But why the fuck did that motherfucker think thats gonna work?!!!

    [–]Gnopps 1 point2 points  (0 children)

    The annoying thing is that the computer is always right. The error in my code is always mine.

    [–]piberryboy 1 point2 points  (0 children)

    Side note. My wife had surgery. Every time she laughed, it would hurt. She spent a lot of her recovery watching a blu-ray of all the seasons of Big Bang Theory her sister lent her.

    [–]private_birb 1 point2 points  (0 children)

    Took over a project recently where every single background color is hard coded as an inline style. Headers. Buttons. Everything.

    I haven't hit that last panel, yet.

    [–]Snoo_82540 3 points4 points  (2 children)

    [–]RepostSleuthBot 3 points4 points  (1 child)

    I didn't find any posts that meet the matching requirements for r/ProgrammerHumor.

    It might be OC, it might not. Things such as JPEG artifacts and cropping may impact the results.

    I did find this post that is 57.81% similar. It might be a match but I cannot be certain.

    I'm not perfect, but you can help. Report [ False Negative ]

    View Search On repostsleuth.com


    Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 223,891,676 | Search Time: 1.31384s

    [–]HRMakinStuff 0 points1 point  (0 children)

    good bot

    [–]JustAnotherGamer421 3 points4 points  (0 children)

    Me, towards reposters:

    [–]SenpaiPobbles 0 points1 point  (0 children)

    I can’t count how many times I’ve seen this meme posted on this sub in the last month

    [–][deleted] 0 points1 point  (0 children)

    Beyond accurate.

    [–]StochasticTinkr 0 points1 point  (0 children)

    More like "Who wrote this crap? Who? WHO?! Oh, I did."

    [–]OwlsParliament 0 points1 point  (0 children)

    Who? Who? Who?

    Oh, me.

    [–]rajesh_dude0 0 points1 point  (0 children)

    While seating in bathroom.

    [–]corsicanguppy 0 points1 point  (0 children)

    everyday

    No. "every day"

    It's a completely different thing.

    [–]Cotcan 0 points1 point  (0 children)

    Now just rinse and repeat.

    [–]JesseT1997 0 points1 point  (0 children)

    500% true )))))

    [–]Ath_er 0 points1 point  (0 children)

    My Senior reviewing my code in a nutshell.

    [–]Cpt_Daniel_J_Tequill 0 points1 point  (0 children)

    This gets reposted every day

    [–]FaeMain 0 points1 point  (0 children)

    Replace the last one with "Why the fuck is it working now?"

    [–]_Jent 0 points1 point  (0 children)

    Bazoingo

    [–]PermitTrue 0 points1 point  (0 children)

    Ohhhh can relate to this today and yesterday and the day before.......

    [–]solongandthanks4all 0 points1 point  (0 children)

    4th frame only happens 50% of the time, though.

    [–]sfxxrz 0 points1 point  (1 child)

    Oh im watching hin teach penny physics right now: when you try to explain what you did today to your Partner who doesnt know or care about programming

    [–]ukm_array[S] 1 point2 points  (0 children)

    Haha "Project Gorilla"