System.out.println()

Ok, I'm learning Java and other related stuff.. properly... but the most annoying thing is by far..
"System.out.println();"
Compared to cout (in C++) and printf (in C).. I mean 'System.out.println()' just to print something on the screen is waaaaay to long a command. Granted, IDE's such as Eclipse allow you to type 'syso Ctrl+Space' to get the command but it is still more than the number of keyboard presses than cout or printf ....

Java :\

2 comments:

  1. import static java.lang.System.out;

    public class HelloWorld {
    public static void main(String[] args) {
    out.println("Hello, world");
    }
    }

    ReplyDelete
  2. i totally agree with u! it is like life. u wish it was simpler!

    ReplyDelete