db in this case ??
idk if my explanation is clear, but this is confusing
here p1.restaurant have the value
<Restaurant: Ace Hardware the restaurant>
r have the value
<Restaurant: Ace Hardware the restaurant>
p1.restaurant = r
makes value of both p1.restaurant and r magically <Restaurant: Demon Dogs the restaurant>
Your code is cursed
its from official docs
You didn't get the joke
yea probably
Your example is incorrect, the value of P1 is demon dogs not ace hardware
i just ran the same code and said the output, this is what confusing me
Обсуждают сегодня