Post date: Mar 20, 2016 2:53:28 PM
Ever since I started programming, I've always had trouble deciding on what is the best way to write programs- using tons of objects (classes, methods, and source files) to keep the code clean but somewhat complex or using minimal objects allowing the program to be changed more easily and keeping it simplistic.
Using more objects makes the program more difficult to debug and a bit more complex than if it was written with minimal objects. However, it looks nicer and makes for less lines of code in one particular script (this can make it easier to read).
However keeping it all in one script allows the script to be reusable in many different areas very easily. Its also easier to go back and modify the program later when everything is in one script.