Jump to content

Variable Naming


Recommended Posts

Hey guys,

I was doing some programming and I am working with a huge amount of variables, arrays, handles, etc. and I was wondering what habits do the experienced programmers have to prevent them from getting confused with all the thousands of variables. Simple question; a little expertise would be appreciated :idea::).

Thanks ahead of time for any replies

Link to comment
Share on other sites

Myself, I always spell everything out completely--that way I tend not to get confused. Ex. "$savednamelistboxGUI"... The only problem is, lines an get quite long and it looks very ugly (not that it has to look pretty, but at least a little more professional).

Link to comment
Share on other sites

I don't strictly follow any rules, but I usually have the UDF Standards in mind so at least I know what type the variable is :idea:

This was EXACTLY what I was looking for; I don't typically distinguish between integers and binary but, it would be important for more advanced programming than what I'm currently doing (especially with the use of the dll functions).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...