10Sep
By: Marc Ruel On: September 10, 2021 In: Instant Tips Comments: 0

Today’s tip focuses on improving the readability of your code. During a peer code review session, Hayden suggested a change to Michelle’s code that greatly simplified it. APEX_STRING.FORMAT eliminates the need for either nested REPLACE statements, multiple series of REPLACE statements, or awkward string concatenations such as constructing APEX URLs. An actionable example that you can apply to your code today!

Insum's APEX Instant Tips: Every Friday at 12:05pm EST

Join Anton and Hayden every Friday at 12:05pm EST live on our Facebook and YouTube channels, as they present a new APEX tip every week.

Subscribe and hit the bell to be notified so you never miss a thing!

View Past Episodes

Full episode list on YouTube here.

Share this:
Share

Leave reply:

Your email address will not be published. Required fields are marked *