I'm writing some Shiny training content for beginners and I'm interested to hear views on the following advice for naming reactive expressions:
Use verbs rather than nouns to name reactive expressions, e.g.
getData
rather thandata
.
I'm thinking this will help prevent the common mistake of forgetting to call the reactive when using it, and also reinforce the idea that a reactive expression is more like a function than a variable.
Some of the RStudio examples use nouns instead of verbs, so I'm concerned I'm missing something and potentially giving bad advice!
I would love to hear your feedback.