I am working on a simple tkinter game that contains numerous occurrences of duplicate code.
Simply put, I can significantly cut down on the total lines of code that my program has by creating
18 additional functions for these sections.
The question can be summed up as:
Is increased functions calls a productive alternative for less lines of code?
Is this a good idea in (A) making my code faster, (B) making my code more efficient, (C) Making
my code more flexible to modifications, or (D) simply a good practice to keep because game
development employers simply like to see less lines of code?
Anything you can provide would be appreciated, such as personal experience, or topics/subjects
that you can refer me to study up on, thanks.
By the way, I am using python.