Just wondering if I'm the only one that uses dumb names for variables when messing around with PHP, JavaScript etc... I can never be bothered thinking of descriptive variable names, and often end up using 'temporary' variable names like egg, dave, ming, etc... Am I the only one?
Once I used $boobies for var name.. But generally I use descriptive var names, like $itemPrice, $userID etc..
LOL! no! your are not alone even I use variable names like dog, cat, zerosleep, me, or anything that comes in my mind at that very moment btw even I thought that I was the only one using stupid names for variables in PHP
Glad to know I'm not the only one A few years ago I did a major project for an Australian university using Director/Lingo, and all the variables were Ming, Wong, Fong etc... I hope nobody reverse engineers it
I usually name variables relative. But when I don't have any such restriction then I give nicks of my friends and celebrities.
People are usually in such a hurry at those moments that they put in whatever first comes to their mind.... Hence, all these strange words....! Regards, RightMan
yeah I find myself using single letters sometimes... its bad cuz then you have to look through your code looking for which letter holds what
I just try to keep mine all short and lowercase. It makes it easier when referencing them in my opinion.
Mmm, I used to use logical names and also descriptive, but sometimes when I'm playing, I use STRANGE stuff.
Whatever comes to my mind. When I encode files, I always like to put some crazy shit names in them - nobody's going to see it anyway