Hardcoding values can have several drawbacks in Salesforce Apex. This post will explain the best practices to avoid hardcoding in apex.
Tag:
custom setting
Salesforce Applications frequently need static data while performing transactions. This post will explain how to enhance apex performance with platform caching.