I used to write & develop codes with system.out.println()
. it usually helps me track values and where the problem is coming. And after developed application, I don't remove the system.out.println()
because it might helpful after user found any issue it will come back to us, which makes it so easy to track where went to wrong. But one of my superior suggested to remove system.out.println()
from codes because its effect the code efficient level. Is this correct?
From my point of view, System.out.print()
hardly take bytes on memory, so is it true that developer shouldn't use much system.out.println
??
Thanks in advance.