May 16, 2013
Syntax highlighting is commonly used when displaying code to make it more readable.
I’ve taken it one step further to make things easier for you to learn!
- Green highlighted lines means it’s important! The deeper the green, the more useful the code. Skim the code without any highlights, that’s just boilerplate code.
- Blue colored text are Salesforce reserved variables or sObjects. They have useful functionality that I will teach you to master!
- Purple colored text are variables that we define. We can name them anything we want!
- // Comments begin with a doubleslash, and they’re frequently used in code to help explain what you’re doing. Salesforce will ignore these lines when executing Apex.
- ‘Strings’, also known as “text”, are wrapped in single quotes. Strings need to be differentiated from numbers, for example, because ‘3’ + ‘3’ = ’33’ and 3 + 3 = 6.
ᏦᎠᏢKING
Pingback: Oakley Jupiter Carbon