Sign in to follow this  
Followers 0
crislivinitup

Variable Naming

5 posts in this topic

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

Share this post


Link to post
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).

Share this post


Link to post
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).

Share this post


Link to post
Share on other sites

Wow, I forgot to say thanks... My mother would be appalled.

Thanks for your reply.

Share this post


Link to post
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
Sign in to follow this  
Followers 0