Gallery
Kuovonne's Guide to Scripting in Airtable
Share
Explore
Stylistic techniques

Using Functions


Guard clauses
Functions
Organize code in functions
Use guard clauses
Return values up front (guard clauses) or at the end of the function, not the middle.
The purpose of functions is to make code easier to read and maintain, not just to avoid repetition.
Avoid side effects
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.