java - On system.out, clarification needed -


I was looking at someone's code and saw that he repeatedly declared

  PrintStream out = system .External;  

and later

  outside. Print ("blah");  

I really thought that it was very clean, is it a common thing? Was he just fancy?

This is a proper approach to basically system.out Creating surname.

  • Less typing.
  • Later the code was changed to separate printstream code.
  • Perhaps a performance improvement, though it would be negligible.

  • Comments

    Popular posts from this blog

    windows - Heroku throws SQLITE3 Read only exception -

    lex - Building a lexical Analyzer in Java -

    python - rename keys in a dictionary -