Right, but in the naming style I know, promotedPosts would never have a visible side effect, because it’s a noun. Side-effectful functions have imperative names, promotePosts - and never the two shall mix.
promotedPosts
promotePosts
Right, but in the naming style I know,
promotedPostswould never have a visible side effect, because it’s a noun. Side-effectful functions have imperative names,promotePosts- and never the two shall mix.