CSC207-2022F-UofT / course-project-bill-gates

A bill recording software developed by team "Bill Gates."
9 stars 4 forks source link

Brandon's b r #24

Closed Yuhan-Ut closed 1 year ago

Yuhan-Ut commented 1 year ago

[*]modify UserFactory so it can set or store temporary instance and use those instance to generate User/dummyuser in getuser function

[*]Modify Iuser, so this interface include abstract functions supposed to return instance of user and dummyuser,(may add more function later)

[+]Add constructor for Userfactory

[+]Add quickGetUser in Userfactory, using default value stored to create desired type User

[*]cleaning up some Redundant code in UserFactory

ps. this is modified from a history version of your branch, I am not sure if this will cover your changes, sorry for the inconvenient and this uncertainty.

Yuhan-Ut commented 1 year ago

@ScottCTD Thank you for your patiently review. I just realized that we are not going to use factory design, sorry for misunderstanding and any inconvenience. I will definitely use ⌥⇧⌘L keyboard shortcut to reformat, and will pay more attention about style while coding.