Join Slack
Communities
Powered by
Can anybody explain the main difference between th...
# announcements
d
dzaitsev
06/29/2017, 10:41 AM
Can anybody explain the main difference between these two stdlib functions:
with
vs
run
? Most likely, I don’t understand something, but what else distinguishes them, except the signature?
Copy code
val foo: Foo() with(foo) { /* ... */ } foo.run { /* ... */ }
Open in Slack
Previous
Next