Useless/Funny Code Comments

As I was cleaning up my team’s code, I found several very useless and funny comments, including but not limited to those depicted in the following images:
1

2

smh

What are some of the most useless and funny comments in your guys’ code?

21 Likes
// idk what it does but leave it there cause it works

Note: I am the programmer

8 Likes
// bla bla bla

(I really don’t know how it got there…)

9 Likes

I don’t personally do this but I’ve read quite a bit of code from all kinds of teams. The variable names some people use are uh … unintuitive to say the least

22 Likes

I name all my variables with 128-digit base-64 numbers. It makes them very easy to keep track of.

11 Likes

Not in binary? You disappoint me.

1 Like

Most programming languages do not let you use numbers as the first character in a variable name.

Gotta use an O or an I.

ZeroOneOneZeroOneOneZeroZero_ZeroOneOneZeroOneZeroZeroOne_ZeroOneOneZeroOneZeroOneOne_ZeroOneOneZeroZeroOneZeroOne_ZeroZeroOneZeroZeroZeroZeroZero_ZeroOneOneOneZeroOneZeroZero_ZeroOneOneZeroOneZeroZeroZero_ZeroOneOneZeroOneZeroZeroOne_ZeroOneOneOneZeroZeroOneOne

Duh…

17 Likes

My team’s had a running joke of leaving //squidward in each others code in random places.

9 Likes

Wow, I’m impressed at your skillz

1 Like

We had our programmer comment in a 150 word essay to someone that “messed” with his code. All the guy was trying to do was help after our programmer left. I’d post it here but there were too many expletives.

These aren’t really comments but I think they qualify. They are buried deep in our units library:
image
image

10 Likes

That’s the best post I’ve seen in 7 DUCK_TALES_EPISODES!

2 Likes

Someone had “terror” for total error.

5 Likes

image
Many coders add funny code moments. For instance, Valve game developers

8 Likes

I’ve seem both of these videos many, MANY times!

(Can I post them with an explicit language warning?)

1 Like
// LONG LINE // LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE// LONG LINE

to test line break formatting for hard copy on page 4

5 Likes

// fake central goal attempt
//do this and then zoom zoom
//make it rotate so it is facing beginny thingy then turn 0, or maybe not, no point of reference...
//whenever you aren't there go not there
so… sometimes i code at night and then leave comments in hopes that my daytime me understands my thought process

this method works a little under 50% of the time

11 Likes

Anyone else decode this?

3 Likes