Apex Collections Nesting Depth Documentation Bug

The Apex Developers Guide states that collections (List, Set, and Map) can only be nested up to four levels deep. From the documentation (at the time of this writing): Lists can contain any collection and can be nested within one another and become multidimensional. For example, you can have a list of lists of sets […]

Apex Array Notation & List Elasticity

Continuing my PD1 study of data types from yesterday, today’s topic surrounded collections. I was aware of the ability to use array notation for lists, but I didn’t realize that using brackets to add values to a list ignores that list’s elasticity. … lists are elastic and can grow as needed provided that you use […]

sObject Empty Strings and Trailing Whitespace

Today’s PD1 study involved Apex data types. While I’ve been writing code for a while and have a good grasp on general constructs, the completionist in me hates skipping topics (it seriously gives me anxiety). While reviewing subjects that have been a part of your daily life – for like ever – can be a […]