Dachshund77 / NavProject

0 stars 0 forks source link

Refactoring if Basket Class #26

Open Dachshund77 opened 4 years ago

Dachshund77 commented 4 years ago

I noticed a problem with the Basket Class. Basically it is unclear if the product object means that here is a quantity of items in the basket or in the store.

This need some refactoring, most likely thereshould be a key value pair of product / int inside the Basket.

The branch is pushed but i have not made a pull request yet.