Using literals in maps and XMLs

Using literals enables you to write code with fewer bugs because the compiler catches the use of incorrect names in the name=value pair. In addition, using literals simplifies the maintenance of your code; if you change the name, all you need to do is recompile your code instead of editing one or more name instances within it first.