There are quite a few blog posts (like this) on usages of the standard library functions apply
/with
/run
/also
/let
I strongly recommend to read this blog in order to understand all of these scope functions.
Some keys of these blog:
Following the first letter of each, you get the acronym “LARA”.
Common use cases
With
with()
is functionally the same as the extension function version of run()
, so it's well-suited to the use case of Initialize and execute. More information.