You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking at your code and well done, very clearly explained. I do have an observation. You say that the View and Controller is tightly coupled with the Model by that import statement: import model but the model module is never used, that is, the coupling is actually done by the calls to the constructors for View and Controller, the import itself is meaningless. Other than this minor observation, this is a really good job you did here, very nice to read.
The text was updated successfully, but these errors were encountered:
Ah thanks for pointing that out, very valid and I can't think of any reason now to import the model, it is just there to make a point how the objects link together.
I was looking at your code and well done, very clearly explained. I do have an observation. You say that the View and Controller is tightly coupled with the Model by that import statement:
import model
but themodel
module is never used, that is, the coupling is actually done by the calls to the constructors for View and Controller, the import itself is meaningless. Other than this minor observation, this is a really good job you did here, very nice to read.The text was updated successfully, but these errors were encountered: