Apex Zero to Hero: EP 02
What is the Apex Development Process?
We recommend the following process for developing Apex:
While writing Apex, you should also be writing tests.
Optionally deploy your Apex to a sandbox organization and do final unit tests.
Deploy your Apex to your Salesforce production organization.
In addition to deploying your Apex, once it is written and tested, you can also add your classes and triggers to a AppExchange App package.