2020-06-30 12:47:33 +02:00
|
|
|
Duplicated string literals make the process of refactoring error-prone, since you must be sure to update all occurrences.
|
2021-02-02 15:02:10 +01:00
|
|
|
|
2020-06-30 12:47:33 +02:00
|
|
|
On the other hand, constants can be referenced from many places, but only need to be updated in a single place.
|