32

Found this gem in some old piece of code:

public static void printStackTrace(Exception e){
e.printStackTrace();
}

Comments
  • 3
    @DGApps I wouldnt say ALWAYS, but it’s good practice to override the toString() method of the classes you create to output actual useful information.
  • 0
    Why?
    Just why?
  • 0
    Not as bad because you can plug a log on it when you want without copy paste anywhere..
Add Comment