this post was submitted on
827 points (57% like it)
3,211 up votes 2,384 down votes

funny

subscribe2,414,576 readers

8,694 users here now

PLEASE, No posts with their sole purpose being to communicate with another redditor. Click for an Example.


Welcome to r/Funny:

You may only post if you are funny.

Please No:

  • Screenshots of reddit comment threads. Post a link with context to /r/bestof or /r/defaultgems if from a default subreddit instead.

  • Posts for the specific point of it being your reddit birthday.

  • Politics - This includes the 2012 Presidential candidates or bills in congress.

  • Rage comics - Go to /fffffffuuuuuuuuuuuu instead.

  • Memes - Go to /r/AdviceAnimals or /r/Memes instead.

  • Demotivational posters - Go to /r/Demotivational instead.

  • Pictures of just text - Make a self post instead.

  • DAE posts - Go to /r/doesanybodyelse

  • eCards - the poll result was 55.02% in favor of removal. Please submit eCards to /r/ecards

  • URL shorteners - No link shorteners (or HugeURL) in either post links or comments. They will be deleted regardless of intent.

Rehosted webcomics will be removed. Please submit a link to the original comic's site and preferably an imgur link in the comments. Do not post a link to the comic image, it must be linked to the page of the comic. (*) (*)

Need more? Check out:

Still need more? See Reddit's best / worst and offensive joke collections (warning: some of those jokes are offensive / nsfw!).


Please DO NOT post personal information. This includes anything hosted on Facebook's servers, as they can be traced to the original account holder.


If your submission appears to be banned, please don't just delete it as that makes the filter hate you! Instead please send us a message with a link to the post. We'll unban it and it should get better. Please allow 10 minutes for the post to appear before messaging moderators


The moderators of /r/funny reserve the right to moderate posts and comments at their discretion, with regard to their perception of the suitability of said posts and comments for this subreddit. Thank you for your understanding.


CSS - BritishEnglishPolice ©2011

a community for

reddit is a source for what's new and popular online. vote on links that you like or dislike and help decide what's popular, or submit your own! learn more ›

all 65 comments

[–][deleted] 67 points68 points ago

sorry, this has been archived and can no longer be voted on

5 years? It only take me a few months of not looking at a project before I go blank.

[–]ismelldeath 39 points40 points ago

sorry, this has been archived and can no longer be voted on

months? it only takes me 5 minutes of reddit before i'm lost and have to start over.

[–]always_useful 15 points16 points ago

sorry, this has been archived and can no longer be voted on

minutes? it only takes me 5 seconds of staring at my keyboard before i'm lost and have to start over.

[–]DF7 49 points50 points ago

sorry, this has been archived and can no longer be voted on

seconds? it only ta

[–]nodefect 11 points12 points ago

sorry, this has been archived and can no longer be voted on

Wait, I'm sure I wanted to say something...

[–]kikenazz 1 point2 points ago

sorry, this has been archived and can no longer be voted on

5 years? It only take me a few months of not looking at a project before I go blank.

[–]trollosophy 12 points13 points ago

sorry, this has been archived and can no longer be voted on

[–]agentoranje -1 points0 points ago

sorry, this has been archived and can no longer be voted on

Recursion fail: no base case.

[–]clearlight 0 points1 point ago

sorry, this has been archived and can no longer be voted on

... mmm doritos.

[–]kenzie0201 -1 points0 points ago

sorry, this has been archived and can no longer be voted on

It only takes me 5 plank seconds.

[–]Hyperian 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I'M GOLDFISH

[–]jutct 1 point2 points ago

sorry, this has been archived and can no longer be voted on

The best is when you see something and think "wow that's pretty clever" and then realize you wrote it. I'm always impressed with the amount of error checking I do. I always feel like I wing it.

[–]fastredb 53 points54 points ago

sorry, this has been archived and can no longer be voted on

Scumbag Programmer

"What was the idiot who wrote this shitty comment thinking?"

\suddenly notices own initials at end of comment**

[–]redshirttt 19 points20 points ago

sorry, this has been archived and can no longer be voted on

Yes. Yes, this. Bonus points if you said that out loud in a code review meeting with other developers.

[–]Neebat 19 points20 points ago

sorry, this has been archived and can no longer be voted on

Been there. Done that. I'm the idiot.

[–]VWSpeedRacer 4 points5 points ago

sorry, this has been archived and can no longer be voted on

Better when your boss does it. I'm a net admin, and the sys admin got half-way through a rant with a half-dozen reasons why some routing was wrong before he realized that he set it up before he'd hired me (we're a two-man crew.)

[–]valnour 1 point2 points ago

sorry, this has been archived and can no longer be voted on

"Which one of you morons wrote this piece of shit?!"

svn blame importantCode.php

"Goddamn it."

[–]HotRodLincoln 0 points1 point ago

sorry, this has been archived and can no longer be voted on

You may be an idiot, but you're enough better now than you used to be that you notice.

[–][deleted] 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Former dev here, now Team Lead on the same codebase, almost 10 years in. Usually, I can tell who wrote what from the code itself, with an accuracy of about 80%.

Every once in a while, one of my guys will point out some code and accuse me of it. The heavy sarcasm in the comments is usually the giveaway. I spent a long time being the only support guy on this product, with 4-5 other devs writing code to tight deadlines. I was outnumbered, frankly.

Typical comment of mine:

// When you called this property "ID", I assumed that you meant it was a thing that was somehow unique. My bad. Changed so that the ID is.. you know.. an identifier of some kind.

The quality of my code is one thing: but the quality of my comments is what I pride myself on.

[–]trollosophy 6 points7 points ago

sorry, this has been archived and can no longer be voted on

the quality of my comments is what I pride myself on

Ahaa, I know guys like this.

[–]HotRodLincoln 2 points3 points ago

sorry, this has been archived and can no longer be voted on

I know people who pride themselves by the lack of comments and shortness and vagueness of their variable names. C programmers. ಠ_ಠ

[–]trollosophy 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I take pride in my code, not my comments.

[–]HotRodLincoln 4 points5 points ago

sorry, this has been archived and can no longer be voted on

I'm sure the code is lovely, but if I have to try to figure out whether it's safe to operate on a variable in a struct based on every place it's used rather than a single comment that could save me hours I'm still not going to love working with the most awesome process scheduler ever, even if it lets me load new schedulers dynamically.

[–]75elky 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Oh God am I guilty of this in my younger years. Actually I probably still am, but I won't notice for another year.

[–][deleted] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Yeah, that looks flippant and isn't the whole story by a long way. I also properly comment stuff that's obscure when I find it. A property called "ID" really shouldn't need a comment, which is why I took the piss with that comment.

This year I was stepping through some tangled and complex code that I knew the principles of but had never gone into in detail (it's usually just a black box that works - but I was adding logging to it to help diagnose issues we were getting and I needed it to be detailed and human-readable).

I managed to comment and log most of it, but there was a section I hadn't seen before which appeared to do something really weird. I emailed the guy who wrote it to ask what it did and got a response along the lines of: "how should I know? I wrote it 2 years ago. I've been promoted since then, so it's not my problem any more."

Great. You probably didn't understand it then, you don't understand it now, you didn't bother to document it, and it's code which is central to the product that you're looking after now you've been promoted.

So that section got a comment along the lines of: "if anyone has to debug this and can work out wtf it is doing, please leave some comments for us mere mortals."

Right under his original helpful comment of: "[name], [date]".

If the code had been active for the system I work on (it wasn't) I would have taken the half day or so to find out what the hell it was trying to do, check it was doing it, and comment the bastard.

It wasn't, so I just left my comment for the poor sap on the other team who had to go in and work it out next time.

Last time I did a code review on that section of code, a poor sap from the other application team had removed my comment and replaced it with a description of what the calculation was doing, and why.

That made my day.

[–]erikerikerik 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I have done this many times. Or worse; forget how/why I did something.

[–]ScribbleJ 40 points41 points ago

sorry, this has been archived and can no longer be voted on

This is the single most relateable post I have ever read on Reddit.

[–]phuckHipsters 14 points15 points ago

sorry, this has been archived and can no longer be voted on

The second 10 developers at my company were hired to clean up the mess of the first 5.

The third 15 were hired on account of the second 10.

But the first 5 are constantly lamenting what happened to their beautiful code because of all of these cut-rate programmers that keep flooding the office.

It's a vicious and beautiful cycle.

[–]JoshIsMaximum 3 points4 points ago

sorry, this has been archived and can no longer be voted on

I'm going to chalk all of my bad code up to "creating jobs from now own"... too bad I work for myself.

[–]bearachute 10 points11 points ago

sorry, this has been archived and can no longer be voted on

I get this way every time I look at one line of regex. I could have written it myself 5 minutes ago.

[–]Chemical_Scum 10 points11 points ago

sorry, this has been archived and can no longer be voted on

My regex skills consist of three components: Google, Copy, Paste.

[–]jidar 9 points10 points ago

sorry, this has been archived and can no longer be voted on

I JUST went through this a minute before I saw this post.

It went like this:

Get a phone call: "Hey I just got an error message doing X and it said to call jidar."

Me: Ummm... doing X? I have no idea about that.

phoneguy: Well it said to call you, here look.

Me: Okay I'll check it out and call you back.

Sure enough its one of my error messages and I somewhat vaguely recall working on it, only thing is the date on the source is 2003 and it's crap. Man I sucked back then.

[–]streetc0de 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Nowhere to go but up...

[–]Rival67 6 points7 points ago

sorry, this has been archived and can no longer be voted on

I know, it's disturbing! Especially after you run svn blame and you're the coder.

[–]oceansize 10 points11 points ago

sorry, this has been archived and can no longer be voted on

Yep. Ye speak the truth. I work at a small but very active development firm, i.e. there are two developers, and we produce about 5 small to medium sized LOB apps a year. Now, times that by the 12 years I have been here and that is a shit ton of code. To compound the issue is that me an the other guy write stuff in what we feel is the best tool for the job. However, that means on a daily basis I could be writing c,c++,java,c#,javascript, xsl, tsql,pl/sql,pgsql,sql,python, or numerous other scripting languages. I look at crap almost daily and think there is no effing way I wrote this cause I don't remember didly, and then there are my initials and a date. Everyday is like a massive xmas regift around here.

[–]fisch003 3 points4 points ago

sorry, this has been archived and can no longer be voted on

I get that feeling when I try and catch up on an open source project I once contributed to. Yikes.

[–][deleted] 4 points5 points ago

sorry, this has been archived and can no longer be voted on

It's a good feeling when you're about to start a project and someone reminds you that you wrote it months ago. Then you open it up to see how it looks and it makes you cringe. I still refuse to believe that some of those functions are written by me.

[–]aoeui-dhtns 7 points8 points ago

sorry, this has been archived and can no longer be voted on

"Ah! It's this way." (follows best-documented code.) "When in doubt, always follow your nose."

[–]dustlesswalnut 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Documentation?

[–]nodefect 7 points8 points ago

sorry, this has been archived and can no longer be voted on

Yes, there's documented code, look:

i++; // Increment i

[–]dustlesswalnut 4 points5 points ago

sorry, this has been archived and can no longer be voted on

// sets value of really_long_ambiguous_variable_name to zero.

$really_long_ambiguous_variable_name = 0;

[–]MusicalChairs 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I don't see how this imaginary person you call "documentation" is going to help you write code.

[–]waffleninja 3 points4 points ago

sorry, this has been archived and can no longer be voted on

More like 2 weeks and 0 developers later.

[–]palordrolap 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Existence is very Zen. Zen is not Zen. You are not you. We are not ourselves.

We are each of us a Ship of Theseus and our state of mind reflects that fact.

Every time you want to kick your past self in the seat of the pants for incomprehensible coding decisions, and equally, every time you praise yourself (your past self) as a genius for a particularly spectacular piece of ingenuity, just remember. You're not the you who did that. You are someone else now.

[–]MusicalChairs 6 points7 points ago

sorry, this has been archived and can no longer be voted on

That's why I always put shit off for Future Me; that guy is a dick. At least he's not a dumbass like Past Me though.

[–]doctechnical 5 points6 points ago

sorry, this has been archived and can no longer be voted on

Welcome to the world of "Senior Moments".

You'll get used to it.

[–]emlgsh 5 points6 points ago

sorry, this has been archived and can no longer be voted on

Until he starts forgetting having gotten used to it.

[–][deleted] -1 points0 points ago

sorry, this has been archived and can no longer be voted on

TIL why old people are assholes

[–]Alistracious 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Whelp, this solidifies it.

The latest meme.

[–]TheGazelle 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I find this to be one of the most humbling experiences as a coder, when even you have no idea what in the hell you were thinking when you wrote that code..

Kinda works as an automatic ego deflater.

[–]jutct 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I just started consulting again for a company I left in 2004. I can't believe how much of my code is still the majority of the projects. It's like me seeing younger me again. And it's pretty good code.

[–]daniel021 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Im not a professional but i looked at some of my first works in PHP from a few years ago which was a tournament website.

I didnt know what OOP was or how to use loops and i didnt separate PHP from html (all html was echoed).

the script for just displaying/updating the tournament results from database was IIRC 1800+ lines of code and i tried to redo it a while back and made the entire thing in ~100 lines including the html and shit.

Now im moving on from Zend onto pyramid for some awesome python instead of PHP which i secretly despise.

I'm betting the classes and stuff im writing now in python will make me hate myself in the next few months :)

[–]ISS5731 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I am not a programmer by any means but I can tell you this:

Always leave comments.

[–]Nadrik -1 points0 points ago

sorry, this has been archived and can no longer be voted on

Sounds like a good company.

[–]spagnitz -1 points0 points ago

sorry, this has been archived and can no longer be voted on

that's why you use comments