Jul-25-2024, 07:37 AM
I have been developing an app for retrieving records from a database (SQL, tkinter, windows).
Over time I have externalised 8 functions into 8 classes . "Single-purpose" functions like creating the tkinter Gui, etc.
Why ? Readability, maintainability etc...etc...
I could do at least 5 or 6 more classes . (Like handling the SQL query & results...)
My question: will the growing number of external classes slow down the app ?
Are there things that should definitely not be in a class ?
Just wondering.
thx,
Paul
Over time I have externalised 8 functions into 8 classes . "Single-purpose" functions like creating the tkinter Gui, etc.
Why ? Readability, maintainability etc...etc...
I could do at least 5 or 6 more classes . (Like handling the SQL query & results...)
My question: will the growing number of external classes slow down the app ?
Are there things that should definitely not be in a class ?
Just wondering.
thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.