Apex Syntax: How to better understand the Apex Syntax and Logic in Salesforce?