Skip to Content
Mastering Apex Programming - Second Edition
book

Mastering Apex Programming - Second Edition

by Paul Battisson
November 2023
Intermediate to advanced content levelIntermediate to advanced
394 pages
10h 14m
English
Packt Publishing
Content preview from Mastering Apex Programming - Second Edition

1

Common Apex Mistakes

In this chapter, we will cover common mistakes made when writing Apex code and the appropriate defensive programming techniques to avoid them. Before we begin to move into more advanced topics within the Apex language, it is important that first we ensure a common grounding by removing any common errors within our code. For some of you, this material may simply be a refresher or a reiteration of some practices. In general, these mistakes form the basis of many of the common exceptions and errors that I have seen in my time working with the Salesforce platform and so are worth addressing upfront. By the end of this chapter, you will hopefully be more aware of when these mistakes may occur within your code and be able to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apex Programming

Mastering Apex Programming

Paul Battisson
Learning Apex Programming

Learning Apex Programming

Matthew Kaufman, Michael Wicherski
MuleSoft for Salesforce Developers - Second Edition

MuleSoft for Salesforce Developers - Second Edition

Akshata Sawant, Arul Christhuraj Alphonse
Salesforce for Beginners - Second Edition

Salesforce for Beginners - Second Edition

Sharif Shaalan, Timothy Royer

Publisher Resources

ISBN: 9781837638352