When foo and bar is not enough [closed]

2019-03-08 00:19发布

When you are using placeholder names when programming (not necessary variable names, but labels, mockup names, etc) and foo and bar is not enough, what do you use?

I guess baz is rather common as third name, and the lorem ipsum for longer texts. But then what?

26条回答
太酷不给撩
2楼-- · 2019-03-08 00:53

In Expert C Programming: Deep Secrets, Peter van der Linden used vegetables.

查看更多
霸刀☆藐视天下
3楼-- · 2019-03-08 00:53

and for OOP Thingoid...

查看更多
时光不老,我们不散
4楼-- · 2019-03-08 00:55

For arbitrary names beyond bar, I've always gone with inky, pinky, blinky, and in exceptional cases, clyde.

查看更多
Juvenile、少年°
5楼-- · 2019-03-08 00:59

moo, cow, sheep, baa (in that order).

查看更多
Explosion°爆炸
6楼-- · 2019-03-08 00:59

Pick a theme and use it.

Or use CPAN's ACME::MetaSyntactic to generate them for you. Lots of themes out of the box.

查看更多
Anthone
7楼-- · 2019-03-08 01:01

Names of swedish vegetables and fruits: gurka, tomat, banan. Bonus points if you have å, ä, or ö in the variable names. :-)

查看更多
登录 后发表回答