Name by Function, Not Visual Attributes

When saving images, be sure to name them by function, not by some visual attribute, because visual attributes might change in the future.

For instance, we have created a web site with blue buttons for navigation and green buttons for submitting forms. If we name the buttons “btnBlue” and “btnGreen” and then later the color scheme of the web site changes, our button names become meaningless.

On the other hand, if we name the buttons “btnSave” and “btnSubmit,” then the sudden order from management to change the color scheme of the site will not fill us with dread and will in fact be relatively painless.

There have been no comments | Subscribe to Comments | Jump to Form »

Post Comment on This Article

Your e-mail address won't be published. If you simply add some value to the original post and stay on the topic, your comment will be approved.

You can use Textile parameters on your comments. For example: _italic_ *bold* bq. quated text "link text":URL — Get your own picture next to your comment with a Gravatar account.