I strugle with this as to what is best. Lets say that we have a Inventory and an Item class. Would it be best to write a funtion in the Inventory class like “AddToInventory(item:Item)”, or write a funtion in the Item class like "PutToInventory(inventory:Inventory) ?
or both?
It may sound a stupid question, but I was wondering on best practises and why.
Thanks