Relative Content

Tag Archive for naming

Where does the practice of naming variables with the prefix “my” come from?

I recognize that there are situations in which “my” is semantically useful, but I have met multiple professional programmers that have a habit of using this everywhere that it’s not – “my_var”, “myTemp”, etc. I recently discovered that my friend’s professor is using this in his assignments, which made me wonder if there is actually some historical reason for this.