Mike Yearwood
Toronto, Ontario, Canada
Versions des environnements
>>>I like this, "transient". This give the prefix a meaning and therefore makes it easier to "identify". Thank you.
>>>
>>>>My strong guess is that if "p" is for private, "l" for local, then "t" is for transient. As obviously, the data type seems to be indicated by the second letter (c, n, l, etc)
>>>>
>>
>>I saw another prefix that I like - but haven't developed a habit for it yet. R meaning passed parameter by reference!
>
>This is very logical. However, don't you find that there are only very few cases where you pass something by reference? Unless it is an array. At least in my code, I can think of very, very few cases of passing by reference.
I believe an object is always passed by reference. However, it's inside the function that knowing how the variable was passed would be useful, not at the time it is passed.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement