|
-
August 13th, 2014, 04:45 PM
#1
Code Cutting Help
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|