Different tools for writing code in APEX:
- Force.com Developer Console: The developer console is an integrated developer environment and collection of tools that we can use to create, debug and test applications in our salesforce org.
- Code Editor in Salesforce Interface: This code editor compiles all classes and triggers then they are and flags the errors if there are any.
Note: The Code doesn’t get saved until it compiles without errors. The force.com developer console allows you to write, test, and debug our Apex code. On the other hand, the code editor in the user interface enables only writing the code and does not support debugging or testing.