Which naming convention should be used for graphics in websites?
- Camel case without project name prefix
- Dasherization without project name prefix without project name prefix
- Camel case with project name prefix
- Dasherization with project name prefix
genericFilename.png
- Good, because it leads to the shortest possible name
- Bad, because it is harder to read if names include all caps
- Bad, because can be easily confused with similarly named graphics from a different project
- Bad, because it requires chorded keystrokes
generic-filename.png
- Good, because it is easier to read if names include all caps
- Good, because it does not require chorded keystrokes
- Bad, because can be easily confused with similarly named graphics from a different project
- Bad, because it leads to longer names
projectGenericFilename.png
- Good, because the project name makes it easier to different between similar named graphics from different projects
- Bad, because it is harder to read if names include all caps
- Bad, because it requires chorded keystrokes
project-generic-filename.png
- Good, because it is easier to read if names include all caps
- Good, because the project name makes it easier to different between similar named graphics from different projects
- Good, because it does not require chorded keystrokes
- Bad, because it leads to longer names