I remember some article that talked about a langua...
# random
f
I remember some article that talked about a language feature like this:
Copy code
//You declare this:
fun Gun.shoot(with ammo: Ammo){
   // logic
}
// And then you can use like this:
val ammo = Ammo()
val gun = Gun()
with(ammo){
   gun.shoot()
}
But I cannot remember where it was. Can someone remind me?
🤮 1