I noticed you can choose/change which version of the Salesforce.com API when you create a class or trigger. Are there are benefits to using a new or older version?
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
Selecting a newer version will generally give you access to additional features, since the functionality available to your code is tied to the API version. To take a somewhat random example, the
The version number is there so your code doesn't break as Salesforce introduces new goodies. I can't think of a reason that you would pick an older version for new code, unless you're extending an existing system.