30.8k views
4 votes
Why is it important for element IDs to have meaningful names

User Dabbas
by
5.7k points

2 Answers

4 votes

Answer:

to remind of purpose and use

User Jakubka
by
5.4k points
7 votes

Answer:

to remind of purpose and use

Step-by-step explanation:

When a data item has a meaningful name, the name can be a reminder of the purpose and use of the item. It can also be suggestive of the range of legitimate values. It also makes error-checking easier.

If the name of it is not meaningful, this information about the item must be found in a dictionary somewhere, often a time-consuming or difficult project. Using elements with non-meaningful IDs provides opportunities for error and confusion--not something that is generally wanted.

User Bskard
by
5.0k points