Nir
07/13/2020, 9:11 PMwith. It seems like with has no real advantage, over the extension function form of run.
Usually flowcharts/blog posts say "use run if you need ?.but even if you don't need?., you can just always use.run` instead of with. It seems like it would be preferable if with did not exist, so that there would just be fewer scope functions to know with no disadvantage. Am I missing something about with?Nir
07/13/2020, 9:12 PMIaroslav Postovalov
07/14/2020, 4:10 AMMatteo Mirk
07/14/2020, 7:40 AMwith is letting you perform a series of calls on an object omitting the receiverNir
07/14/2020, 2:31 PMNir
07/14/2020, 2:31 PMNir
07/14/2020, 2:33 PMIaroslav Postovalov
07/14/2020, 2:34 PMrun alwaysNir
07/14/2020, 2:35 PMwith stands out to me as the only one that is totally redundant. So it seems advantageous to have a smaller set of scope functions you have to be familiar with.Nir
07/14/2020, 2:35 PMNir
07/14/2020, 2:35 PMMatteo Mirk
07/14/2020, 2:51 PM