`Borrow` and `Inout` types for safe, first-class references

thinking of properties as zero-argument functions is reasonable, but it falls down once you can set/modify the property. i think "it's just semantically forming a mutable reference to counterRef.value" is the right way to think about it

3 Likes