Chris Brown
Monday, October 4, 2010
Naming constraints
On naming your pictures and files. I have always use the naming style of programming, because when programming you need to keep it so, not only does the computer need to read the names, but other people should be able to understand the variable and what it does. When naming something you should know what it is without opening the file, and the computer should easily be able to open it anywhere. The names should not have spaces or special characters because the computer can interpret these characters different. Never use a period (.) in the name because the computer sees this and thinks that an extension should be next. In programming, the first character is usually lower case, then the beginning of the next word is uppercase. For example, backgroundPicturePage1, this shows that the picture is used for the background and it is for the first page. Having a good naming structure makes it easier for you to quickly move throughout your projects.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment