DEV Community

Cover image for What’s your placeholder name?
Bruno Noriller
Bruno Noriller

Posted on • Originally published at linkedin.com

What’s your placeholder name?

We all know foo, bar, and baz. But when I see people actually needing a placeholder name for a function or variable... I’ve often seen other placeholders.


Mine are: coxinha, coisa, test.

“test“ you probably understand.

“coisa” is ‘thing‘ in portuguese.

“coxinha” can be translated as “little thigh”, but it’s actually a fried snack. (the cover image!)


From what I saw, each one has one... so what’s yours?


buy me a coffee

Latest comments (41)

Collapse
 
arnested profile image
Arne Jørgensen

hest -- Danish for horse

Collapse
 
panditapan profile image
Pandita

I use "hello" and if it's a string then "stringy". I always use Pandita Pan as a placeholder user too xD

Collapse
 
stephd profile image
DepSteph

I use 'dada', because of finger position

Collapse
 
sunflowertoadtheorbiter profile image
SunflowerToadTheOrbiter • Edited

Fine choice sir, I tend to prefer ogabooga

Collapse
 
clpsplug profile image
C. Plug

Some Japanese use "hoge" "fuga" "piyo" for placeholder names - though I hear they are dying out and learner sometimes misunderstand that these mean something.
I use them plus the foobar style placeholders; whichever to use is up to my feeling.

Collapse
 
dylanlacey profile image
Dylan Lacey

BEEEEEEES!

Collapse
 
flrichar profile image
Fred Richards

I try to make up funny words like zerk, zalg, blerp, blurg, any 4-5 letter which may sound like it does not belong and for some unknown reason I choose a lot of the letters a, b, x, z.

Collapse
 
joppedc profile image
JoppeDC

Even when debugging and testing, i use somewhat logical names.

‘function logUser(User $user)’

‘private string $tempLocale = “en”:’

Stuff like that. Sometimes these stay till the next day or after a weekend. and it helps me pick up where i left off without searching what they mean/do.

Collapse
 
auroratide profile image
Timothy Foster

I almost always use fruits and vegetables! Nearly universal, paints an image in the head, makes whiteboards colorful, etc. When testing things with arrays, you can create illustrative categories like const red = [apple, tomato].

Collapse
 
andrewbaisden profile image
Andrew Baisden

I keep it simple and stick with test.

Collapse
 
skylersaville profile image
Skyler Saville

Bobby Socks

Collapse
 
diballesteros profile image
Diego (Relatable Code)

Alright +1 for the oogabooga

Collapse
 
abhinav1217 profile image
Abhinav Kulshreshtha

I don't use placeholders for programming. variables, functions, classes should all be related to module I am working on. But for user-testing, db seeding, etc, I have habit of using existing information of frictional characters created by old writers.

Characters from edgar allen poe, enid blyton, james hadley chase, A lot of Cartoon characters from hanna-barbera shows, Harry Potter, gods from greek mythology, characters from Indian comics. I have a personal DB of fictional addresses, from all the above mention tv-shows, books and novels which I use to feed DB and test forms.

Collapse
 
chuniversiteit profile image
Chun Fei Lung

I use derp and sdg so often that some of them have even made it to production. 💀

Collapse
 
kenbellows profile image
Ken Bellows

Maaaan the minute I saw that cover image my mouth started watering lol, I haven't had coxinha in ages!