Closed patzinak closed 8 years ago
For example, lines 70, 73, 103, 107-112, 114, 129-132, 262-269, 280-284 in servers/GUI/mView/NotifierGUI.py
I can suppress output and remove a lot of the code for debugging, but I hesitate to remove it all because the code is still under active development and will be for a long time. The debugging code is extremely useful for quickly fixing bugs.
print("here")
is not a useful debugging feature... But sure, keep important logical blocks (or create a new branch when you adding a totally new feature). It is okay to have commented something like this: print("Number of servers running: %d", number_of_servers)
because this statement indirectly tells you what is important at this point of the code execution, it is a some sort of a comment. But print('working')
is no okay.
All extra debugging code removed.
There are lots of code chunks that are commented out and likely were used for debugging. Remove them out (preferably) or write a comment regarding the potential need for this commented code.