What is the German equivalent of foo, bar, baz?

36

6

The English words foo, bar and baz are often used as placeholder nonsense names in programming. In French, "toto, titi, tata, tutu" are common.

Which words are used for this purpose in German code?

To clarify: Although company-local traditions are interesting, that's not what I'm asking about.

Tim

Posted 2011-05-27T10:21:59.840

Reputation: 8 597

3

Random Wikipedia connection: http://de.wikipedia.org/wiki/Metasyntaktische_Variable

– Debilski – 2011-06-12T02:00:23.490

@OregonGhost : they did it for french as well, alas. – ogerard – 2011-06-21T19:37:19.697

1@ogerard: With accents? :D – OregonGhost – 2011-06-21T19:40:56.527

@OregonGhost : no, but worse: with different syntactic delimiters for parameters and cell addressing. – ogerard – 2011-06-21T19:44:50.890

For me, wrgl, xrgl, zrgl, and the like are international enough to use them in any language. :) – sbi – 2011-11-22T14:37:54.173

7This reminds me of an April-Fools joke, where Microsoft introduces G# (German Sharp), a C# implementation with German keywords ;) – OregonGhost – 2011-05-27T11:14:09.170

4Better an April-Fools joke than the foolish German VBA they really created. – bernd_k – 2011-05-27T13:03:57.443

@bernd_k: Yes, and it's still in Excel. Did they do this for other languages as well? ;) – OregonGhost – 2011-05-27T13:14:33.370

@oregonGhost Tja und dann gibt es noch viele deutsche Übersetzungen von guten Computerbüchern, wo die automatische Übersetzung große Teile der Programmbeispiele entstellt hat. – bernd_k – 2011-05-27T13:24:12.413

4Mein Vorschlag für eine (mehr oder weniger) akkurate Übersetzung wäre Zeug, Kneipe und Bartholomäus. ;-) – deceze – 2011-05-27T14:09:41.870

1@deceze: Das erinnert mich an eine Situation vor ein paar Monaten. Hatte mit einem Kollegen für einen Kunden eine Software mehr oder weniger fertig. Er hatte mir dann noch per IM eine Codezeile geschickt, die ungefähr aussah wie ... Get(b). Nun macht mein Instant-Messenger aus (b) natürlich ein Bierglas... Den Screenshot davon haben wir dem Kunden dann in der Mitteilung, dass alle Fehler behoben seien und offenbar auch der Code selbst dieser Meinung sei, mitgeschickt ;) – OregonGhost – 2011-05-27T21:52:03.670

Answers

37

Since programming is often deeply connected with the English language, I guess many if not most people use foo, bar, etc. too.

However there is of course blub and blubber or at my company blurbs, blurbsi, blubberhupps and the like are hot. It's sort of a local meme.

musiKk

Posted 2011-05-27T10:21:59.840

Reputation: 5 378

4+1 I also use foo and bar, and sometimes bla and blubb. – mru – 2011-06-12T09:16:55.170

"many, if not most": nope. foo and bar are a red flag for me when reviewing and never get a pass. Because. :) – hiergiltdiestfu – 2015-08-10T12:34:02.327

6Yeah, foo/bar is fine. I often use bla and blub as well. Or even blablabla etc. :P – poke – 2011-05-27T10:54:44.690

4+1 for blubberhupps. – OregonGhost – 2011-05-27T10:55:32.253

4user of bla(bla) and blub(b) here, too! – ladybug – 2011-05-27T11:00:07.600

16

You could go with dings–bums, dingens–kirchens, bla–blubb–blafasel. But if we are talking about programming context, then I wager the English placeholders foo and bar are the most popular by far.

RegDwight

Posted 2011-05-27T10:21:59.840

Reputation: 2 184

4+1 for dingsbums, great word :) – Sebastian – 2011-06-02T11:35:13.530

1I use "bla" and "blubb", too. Additionally "laber", which can be extended to "laber-sülz", e.g. for testing Umlaut capabilities. – Landei – 2012-03-02T19:08:11.507

13

Bla is sometimes used. And Blub if you need a second. But since the actual code language is typically English, not German, you can use the same as in English. In my company, however, you'll find a suspicious amount of bunny in code... Everybody likes bunnies.

I hate the use of foo, bar, baz, by the way. Better think of real examples. Now that I think about it, I rarely encountered German examples with foo, bar and baz. May be coincedence though.

OregonGhost

Posted 2011-05-27T10:21:59.840

Reputation: 12 611

Yes, when reading code (and trying to understand it), usage of foo doesn't really help. – Paŭlo Ebermann – 2011-06-05T21:54:25.350

5

All German Programmers I know use foo / bar. So do I, most of the time, but my own private variation is:

Nase, Hase, Vase, Blase (etc.)

Sean Patrick Floyd

Posted 2011-05-27T10:21:59.840

Reputation: 636

Das ist gut, werde ich in Zukunft auch verwenden. :-) – Steffen Roller – 2013-03-27T22:21:24.840

+1: You got me at Hase. – OregonGhost – 2011-05-27T21:48:34.293

4

A friend has told me that his professor extensively used “wilde” (= “wild”) and “wutz” (= diminutive of “boar”, “pig”) as metasyntactic variables. To this day, these are my favourites.

Konrad Rudolph

Posted 2011-05-27T10:21:59.840

Reputation: 1 037

1+1, although Wutz is not a diminutive, but rather a word of its own right ;) – Jan – 2015-04-01T16:02:52.190

3Wilde Wutz? Oo +1 – OregonGhost – 2011-05-27T13:15:06.897

2

This is not representative, but my first variable of choice is always "willi", followed by "otto" and then "franz"

teylyn

Posted 2011-05-27T10:21:59.840

Reputation: 2 937

1

Ich nehm eene, meene, miste. Kommt glaub ich aus der Augsburger Puppenkiste. "Eene, meene, miste, es rappelt in der Kiste ...". Bedeutet, soweit ich weiß, in etwa das gleiche wie foo bar baz. :-)

Lumi

Posted 2011-05-27T10:21:59.840

Reputation: 681

5

Ne, das "eene meene miste" entstammt der "Rappelkiste", einer ZDF-Kleinkindersendung aus den 70er Jahren im Kielwasser der Sesamstraße, siehe http://www.fernsehserien.de/index.php?serie=555.

– Ray – 2011-11-16T16:31:28.213

0

Muh, lala and bum, of course.

fzwo

Posted 2011-05-27T10:21:59.840

Reputation: 2 596

0

I once worked on a project where the temporary or test variables were always called Hugo. Don't know though if anyone else uses it.

Jan

Posted 2011-05-27T10:21:59.840

Reputation: 8 854

Wahrscheinlich waren die Variablen alle für den Hugo. :-) – celtschk – 2012-10-21T12:49:58.827

@OregonGhost: Mikki kommt mal her? – ogerard – 2011-06-21T19:41:00.457

@ogerard: Maybe I misunderstand you, but shouldn't Klarabella be paired with Rudi Ross in that case, since it's Klarabella Kuh? ;) – OregonGhost – 2011-06-21T19:42:11.720

1I know KarlHugo, paired with Klarabella. Don't ask. – OregonGhost – 2011-05-27T11:13:01.960