This is not a technical query: just a search for the source of a strange practice.
How often have you seen code where every variable and function begins with my (Internet 2 letter abbreviation for Malaysia hence Malaysian variables)? Something like
I find it annoying, especially when every single variable begins with my. Why can't they use
Why do they have to be so possessive? I first saw it in C++ in 1997. One of the coders used it throughout his C++ and his VBA code. All the variables were Malaysian. I'm very sure it began before that. Many of the VB, VBScript, Java and JavaScript books I've seen have it too but I didn't look in the front to find out the published date.
Does anyone know the origin of this possessive practice? Alternatively, what is your earliest recollection of this possessive practice?
How often have you seen code where every variable and function begins with my (Internet 2 letter abbreviation for Malaysia hence Malaysian variables)? Something like
Code:
function myCard()
{
return myFingerPrint + myId + myPicture;
}
Code:
function Card()
{
return fingerprint + id + picture;
}
Does anyone know the origin of this possessive practice? Alternatively, what is your earliest recollection of this possessive practice?