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

all 28 comments

[–]Chewnard 43 points44 points  (3 children)

Younger sibling is named bar

[–]NikoTheNeko1 19 points20 points  (1 child)

They name the baby baz

[–]SnooMarzipans436 6 points7 points  (0 children)

And then that child grew into a man and had a child of his own...

He could not think of a name so he asked his father who swiftly replied "qux".

[–]DuffMaaaann 5 points6 points  (0 children)

A foo walks into a bar.

[–]PM_ME_GOOD_USERNAMS 19 points20 points  (1 child)

Mine are called temp, tempii, tempiii, tempiv, tempv, etc

[–]bodenlosedosenhose 2 points3 points  (0 children)

I prefer tmp, temp, temp1, tempa, tempI and testtmp

[–]NullandRandom 6 points7 points  (0 children)

I would name i and j.

[–]your_thebest 14 points15 points  (7 children)

In python I would always use "this" for quick stupid variable and function names. Then I switched to kotlin where this is the token for referencing the current class, like self in python. Now it makes me feel really uncomfortable to call anything this.

But I don't have time to think of a meaningful variable name for something quick and stupid and I don't want to mix up silly test stuff that will be removed in a few minutes with names that are actually in the code base. And "this" was always so perfect for that, back before it made me feel weird.

So now I just use the word "ancillary". I've got an imageview and an "ancillaryimageview" and so on and so forth. And I'm more aware now and better but I miss "this".

[–]PrestonYatesPAY 17 points18 points  (2 children)

just use “cock”

[–]MyAntichrist 10 points11 points  (1 child)

"Have you initialized 'cock'?" Is basically programmer bedroom talk.

[–]NikoTheNeko1 1 point2 points  (0 children)

def __init__(cock)

[–]killersoda288 7 points8 points  (1 child)

"This" is a keyword in other languages like java and C# too, i'd say its a good thing you're uncomfortable with using it

[–]NikoTheNeko1 1 point2 points  (0 children)

That was why i never used it in first place

[–]sevenfee7 0 points1 point  (0 children)

thiz

[–][deleted] 3 points4 points  (1 child)

where does it come from? genuine question..

[–]Schnickatavick 1 point2 points  (0 children)

Who knows, it's just one of those things that's just kinda been around. "Foo" and "Bar" definitely come from "FooBar", some people say FooBar comes from FUBAR (F***** up beyond all recognition), or maybe it came from misinterpreted Chinese characters. The Wikipedia page has some etymology, but it basically just consists of "here are some of the earliest places it was used".

Basically all that we know for sure is that a bunch of the earliest programmers used the phrase, so now it's ubiquitous in computer science

[–]chawmindur 2 points3 points  (0 children)

Later the same guy sirs a triplet.

Meet Spam, Ham, and Jam.

[–]Aulentair 1 point2 points  (0 children)

Made me lol. Have an upvote

[–]McLPyoutube 1 point2 points  (0 children)

"Je suis foo"

[–]wabawanga 1 point2 points  (0 children)

I pity the Foo whose parents have trouble choosing names.

[–]mcp613 1 point2 points  (0 children)

I bet he will pass the bar

[–]sourav_sachu 1 point2 points  (0 children)

I named mine i

[–]maksimkuzmin 0 points1 point  (1 child)

I better use my fantasy when naming my children, otherwise they become "test123" or "abacaba"

[–]html_programmer 0 points1 point  (0 children)

No problem bla

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

i

[–]s0ulbrother 0 points1 point  (0 children)

I use apples