Slashdot Mirror


Draft Review of Java 7 "Measures and Units"

Jean-Marie Dautelle writes to inform us that the public review period ends on July 8 for JSR-275, "Measures and Units" Early Draft. The JSR-275 will be a major enhancement for Java 7 by providing "strong" typing (through class parameterization) and easy internationalization of Java programs, preventing conversion errors. The latest version 0.8 is available as a PDF. The reference implementation is provided by the JScience project under a BSD license."

13 of 220 comments (clear)

  1. Re:Java 8 by EWIPlayer · · Score: 5, Funny

    Take it from me, I work in HR at a Fortune 500 company, so I know a thing or two.

    This AC is totally right. Every time I need a decision on which language I should use to implement a product, I always go straight to HR; preferably HR in fortune 500 company. Those folks really know their stuff!

    As if what companies use has anything whatsoever to do with this paper... I agree Java sucks, but this has nothing to do with whether or not someone is "employable" after reading this paper - it has to do with a fairly smart group of folks trying to make Java a bit better for numerical work. (i.e. for the public sector, more often than not)

    --
    This sig used to be really funny...
  2. Re:getting tired of Java = Python! by Sciros · · Score: 4, Funny

    Well at least it's 2 whole cents. Too many people say stuff like "just wanted to add my .02 cents" which IMO deals a severe blow to their credibility.

    --
    I like basketball!!1!
  3. Re:ooh convenient by Anonymous Coward · · Score: 1, Funny
    You forgot something.

    Measure weight;
    try {
    weight = Measure.valueOf(180.0, POUND);
    } catch (HeisenbergException e) {
    // ignore this which never happens, but shut the stupid compiler's yap
    }
  4. Re:More Java growth? by jgrahn · · Score: 5, Funny

    Looks like the death-blow for c#?

    Yes. A couple of classes for handling metres, kilograms and seconds is the killer application for Java. All other languages/operating environments will disappear overnight.

  5. Re:Java 8 by Mr.+Bad+Example · · Score: 5, Funny

    > Take it from me, I work in HR at a Fortune 500 company, so I know a thing or two.

    HR? I'd be surprised if you know what color database has the most RAM.

  6. Re:More Java growth? by iDaZe · · Score: 3, Funny

    Your statistics are almost as good as mine:

    Java sucks
    .NET more popular

  7. Code sample by suv4x4 · · Score: 3, Funny

    inches i = 10;
    kilograms j = 40;
    dollars k = 70;

    print(i+j+k); // 1.453^10 volts

    1. Re:Code sample by vigmeister · · Score: 2, Funny

      inches i = 10;
      kilograms j = 40;
      dollars k = 70;

      print(i+j+k); // 1.453^10 volts That's because time is money and e = mc^2

      Cheers!
      --
      Atheist: Buddhist in a Prius
  8. Predictable by alexj33 · · Score: 1, Funny

    This can only lead to one thing. Or rather, many confusing things.

    1. "Measures and Units" version 1.0. 2. "Measures and Units" Enterprise Edition. 3. "Measures and Units" on struts. 4. "Measures and Units" version 1.1. 5. "Measures and Units" version 1.2. Compatible with code written in 1.0, but not 1.1 nor EE. 6. "Measures and Units" for mobile devices 1.0. (Compatible with 1.1, but not 1.2, 1.0 nor EE.) 7. "Measures and Units" 1.3 for SunOS. (Requires a patch to the OS to make it work)

    This will make our unit conversions so much easier.

  9. Re:getting tired of Java = Python! by Anonymous Coward · · Score: 1, Funny

    Well at least it's 2 whole cents. Too many people say stuff like "just wanted to add my .02 cents" which IMO deals a severe blow to their credibility.


    People who work at Verizon have as much right to post as anyone else.
  10. And while your at it by ClosedSource · · Score: 4, Funny

    Please answer the same question for C#.

  11. Re:getting tired of Java = Python! by glitch23 · · Score: 1, Funny

    Too many people say stuff like "just wanted to add my .02 cents" which IMO deals a severe blow to their credibility.

    Coincidentally those are the people who work for Verizon.

    --
    this nation, under God, shall have a new birth of freedom. -- Lincoln, Gettysburg Address
  12. Re:Philosophy of numbers by Anonymous Coward · · Score: 1, Funny

    > And of course it's the Federal Reserve that can print endless money for the war in Iraq, thank to the lack of a gold standard.

    Yes, no nation ever took on debt to finance a war when there was a gold standard.