at 2:51 you have this: 
    
    
    type PersonRef = ref object
    var
      personA = PersonRef()
      personB = personA
    
    
    Run

and you say "there's a big difference between the variables"; `personA` 
"contains" the object while `personB` "only points to the memory location"

This is not the case. `personA` and `personB` are identical, both are tracked 
references to the object on the heap.

Reply via email to