Export thread

Coders: what's your throwaway name?

#1

fade

fade

If you program, what is the name(s) that you most often use for throwaway variables or filenames? I'm just curious, because I always used "banana". Not sure why. Maybe because it's just easy to type. But after reading a lot of programming blogs, I've come to the realization that a lot of people seem to use "banana". It even showed up as one of the top answers to the local jargon question on stackexchange. Wonder why. There's the perennial foo/bar/baz combo, of course. What's yours?


#2

MindDetective

MindDetective

I use temp a lot. Not terribly creative.


#3

strawman

strawman

"deleteme" is my favorite as I know I can safely get rid of it months down the road if I've forgotten what it was for in the first place.


#4

David

David

When I was in my c++ class I used "fluffy_bunnies" for a lot of things.

Why? Because I could.


#5

blotsfan

blotsfan

temp for variables, test for filenames.


#6

Piotyr

Piotyr

x/y/z i/j/k for random variables, usually. I make every attempt to type as little as possible.


#7

Sara_2814

Sara_2814

I use 'test', so it's obvious it's not meant to be used permanently.


#8

PatrThom

PatrThom

For my test name (not a test label) I tend to use "Goober Menner," which was the name of my old Autoduel character.

For test/temp variables, I usually use words like 'blah' or 'blarg' or 'fleem'

--Patrick


#9

bhamv3

bhamv3

Usually use "test" but as I get more and more frustrated with my code I start to use swear words. My hierarchy of frustration goes "crap" then "shit" then "fuck".


#10

strawman

strawman



#11

checkeredhat

checkeredhat

I am not at all a coder, I was hired as a graphics designer, but it's been my job recently to learn this online course software, so that I can teach it to our clients. So lately I've been having to learn a bit of PHP, MySQL, Apache and HTML, which has made my head hurt. I feel like I'm starting to understand HTML, but everything else, I'm just following instructions and using google everytime I run into unexpected errors (The program's manual was written for Linux, not a lot of care went into the instructions for a Windows installation)

To test the software, I created a course called Transformers 101.


#12

Jay

Jay

x0ml8.png


#13

Grytpipe-Thynne

Grytpipe-Thynne

My programming ability ended when Basic and 8bit machines disappeared!:(


#14

Gusto

Gusto

I often used the name "randy5" in my programming classes but now I have no idea why.


#15

strawman

strawman

I often used the name "randy5" in my programming classes but now I have no idea why.
Obviously it's because Johnny5 is entirely too common.



#16

Allen who is Quiet

Allen who is Quiet

temp, test, deleteme


#17

Bowielee

Bowielee

Test and temp are my go-to variables. I usually reserve x,y,z etc... for actual variables that don't have specific functions and are just to store a specific piece of data that may be used by other functions.

However, this is pretty much moot now that I've dropped computer science as my minor.


#18

MindDetective

MindDetective

Well, that's too bad, Bowie. At least you'll still have that experience on your CV. Programming ability will be a big plus when grad schools are considering you.


#19

checkeredhat

checkeredhat

Obviously it's because Johnny5 is entirely too common.

Made my day.


#20

Bowielee

Bowielee

Well, that's too bad, Bowie. At least you'll still have that experience on your CV. Programming ability will be a big plus when grad schools are considering you.
Yeah, the way I look at it is that it will still look good on my CV to say that I'm proficient in Java and C++. When it started getting into machine language and logic gates, that's when it started getting over my head.

I'm also still occasionally programming as well, it's just that I was really more into the programming than the computer science side of things.


#21

PatrThom

PatrThom

Ooo! I forgot to add this one. When I want to leave a mark that I want to be able to find later, I will drop this six-character sequence: ^^&&^^
This is left over from my old VAX/DCL days, where the text editor would insert that particular string as a marker to go back to later (i.e., the keyboard command "insert mark" would just drop "^^&&^^" wherever your cursor happened to be, and "find mark" would go to the next one of these).

--Patrick


#22

strawman

strawman

Ooo! I forgot to add this one. When I want to leave a mark that I want to be able to find later, I will drop this six-character sequence: ^^&&^^
This is left over from my old VAX/DCL days, where the text editor would insert that particular string as a marker to go back to later (i.e., the keyboard command "insert mark" would just drop "^^&&^^" wherever your cursor happened to be, and "find mark" would go to the next one of these).

--Patrick
I use FIXME and TODO in the comments occasionally to mark spots of code that need attention.


Top