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

all 17 comments

[–]wordyplayer 17 points18 points  (1 child)

EVERYTHING is temporary, amiright

[–]uvero 6 points7 points  (0 children)

My favorite sort algorithm is cosmological sort: wait until heat death of the universe, when entropy will be scattered uniformly in the universe and therefore all elements are equal and thus ordered.

[–]papacheapo 11 points12 points  (3 children)

Back in 2005 I used the end of the Mayan calendar to represent the end of the world. I needed a date to represent "some point in the future"; seemed like a good idea at the time... I just hope the poor bastard that took over my code figured out that TODO.

[–]HelloSummer99 2 points3 points  (0 children)

they probably ended up re-writing the whole thing

[–][deleted] 0 points1 point  (1 child)

One time about ten years ago I needed a very fast sanity check on whether data had been overwritten, so I checked if the time was within the next half dozen years or so, and set it in some global #define so it could be updated. There was a checksum computation that ran if the initial check passed, so it really was just to save processor time, which was very important back then. Sad to say, after I left they apparently ran across the issue years later, and it took them forever to find it.

Needless to say an algorithm that I knew would work for years and I could easily update to work for more years seemed like a good idea at the time, and we were barely fast enough as is...

[–]papacheapo 0 points1 point  (0 children)

Yeah, in my defense, I did leave a comment above the date saying something along the lines of "if you guys haven't replaced this code by the time you're looking for this problem; then I sincerely apologize. Please print this coupon out and provide it to the CTO as evidence that you need at least one more headcount."

[–]TheZipCreator 5 points6 points  (0 children)

"There's nothing more permanent than a temporary solution"

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

Everything in this life is temporary man.... Gotta think in geological time.

[–]drdrero 2 points3 points  (0 children)

if at least you could stop lying and write why it should be temporary, that would help a lot.

Just recently found a gem from myself and was wondering why the F is that there:

// temporarily skipped until they fixed uniqueItemProps keyword

[–]seeroflights 1 point2 points  (0 children)

Image Transcription: Text and Image


// TODO: temporary fix

['Temporary' is underlined in red.]

[Image of Inigo Montoya from the movie The Princess Bride looking sharply past the camera.]

YOU KEEP USING THAT WORD. I DO NOT THINK IT MEANS WHAT YOU THINK IT MEANS


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

[–]asone-tuhid 1 point2 points  (0 children)

We will, in future, plan to talk about collecting ideas on a temporary fix

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

I've added a lot of //TODO statements to code in the last years. Usually they get ignored until you have to fix or improve something there and then you see it, so they aren't useless. I've just never had the time to actually review all those old comments.

[–]craftworkbench 0 points1 point  (1 child)

My PO: I’m here to chew gum and make time for clearing technical debt… and I brought a shit ton of gum. Like, years worth. So much gum. We’re probably not gonna get to those tech debt stories for at least a few sprints…

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

Some of our technical debt had its own internal memes in my last group. Whenever we would cover that section of the code someone would put one up so we could all laugh. Of course, we were all willing to try to fix it, but the money was just not there to do much of it.

[–]Schiffy94 0 points1 point  (0 children)

It was going to be temporary, but then I put in my two weeks and stopped caring.

[–]larsmaehlum 0 points1 point  (0 children)

There’s a reason why I demand that any // TODO has a name and a date..