Slashdot Mirror


Will Sun Open Source Java?

capt turnpike writes "According to eWEEK.com, there's an internal debate going on at Sun whether to open-source Java. (Insert typical response: "It's about time!") Company spokespersons have no official comment, as might be expected, but perhaps we could hear confirmation or denial as early as May 16, at the JavaOne conference. One commentator said, "Sun should endorse PHP and go one step forward and make sure the 'P' languages run great on the JVM [Java virtual machine] by open-sourcing Java." Would this move Java up the desirability scale in your eyes? Could this be a way to help improve what's lacking in Java?"

1 of 700 comments (clear)

  1. Re:No by nissu · · Score: 1, Troll
    Java: BufferedReader in = new BufferedReader(new FileReader("foo.in")); Python: in = open('foo.in') Ruby: in = File.open('foo.in') C++: ifstream in; in.open("foo.in");
    Big deal. Write a utility class with a method called "open", use that utility class everywhere and just get over it. Java streams might be intimidating at first, but once you get the hang of using them they are very convenient.