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

Naming Variables


Variables
function names have a verb
variable names reflect actual object (e.g. a variable named “records” should be an array of records, not a query result object)
singular vs plural variable names
limit abbreviations
Defining hardcoded values in variables up front (table & field names, magic numbers)
Use global variables carefully, mostly for constants

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.