Question:
What are some of the most horrible variable name's you've ever used in programming and have you ever launched it live with those names?
?
2014-11-01 17:41:21 UTC
I'm pretty sure it's safe to share here some of your darkest programming secrets. maybe you were really bored, or maybe you were just being humourous lol. Either way I'll start with some of mine:

It all started one day when I was being silly in class and started calling my arrays
#define BUTT 66
#define SECKS 69
gayArray[BUTT][SECKS];

My professor didn't seem to care and he graded my assignment normally, so then I decided to push the limits

typedef float DIE; typedef double ANNIHILATE)
I made a class called N_AZI with a public function called void final_Solution(DIE, ANNIHILATE);

I've never and plan on never launching any such software with those variables names, but I wonder if any of you have?
Six answers:
David
2014-11-02 00:54:56 UTC
You are also unfortunate. Clearly you are not being taught, or tested on, any of the variable naming conventions that would help you get high-paid work as a programmer.

These do make naming require a well developed vocabulary to get to the risque end of the spectrum, but it is still possible....
Marcus Stevens
2014-11-01 17:45:06 UTC
I used the name 'triage' in every function (doing something totally different every time), on every level of scope, to annoy my professor. On occasion I would use a name like traige alongside it. He was a dick. And just failed me, not a well thought out plan.
justme
2014-11-02 06:04:10 UTC
I once named one sh_it (without the _ in it). It was used to flag an error condition. Forgot about it...
?
2014-11-01 17:54:46 UTC
One time I named my variable qwertyuiopasdfghjklzxcvbnm.
anonymous
2014-11-01 17:50:05 UTC
&Mrrichbastard when mailshotting people who were well off.
?
2014-11-04 05:53:01 UTC
i have used Il ,IIl, _, __ and ___ in some obfuscated code... :-)



if(Il == __ || Il==_)....


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...