4 ms·
Good point. For me personally, I find myself using “get” whenever a function or method will query a database or some other external source to deliver the result
by function_seven 10y ago
Good point. For me personally, I find myself using “get” whenever a function or method will query a database or some other external source to deliver the result. For example, getNormalizedDeliveryAddress(), or getRelatedComments().
- catlover99 10y agoPersonally, for whatever reason in my mind, I think "get" as referring to something local which is why I choose between three different verbs, "grab", "fetch", or "query" (typically grab), as a descriptive prefix for functions that retrieve data from external sources.