HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 301599 thumbnail
User 214988 avatar

By puredanger
via code.joejag.com
Published: Nov 23 2009 / 21:22

Nice recap of the JDK 7 language changes with examples
  • 79
  • 1
  • 8947
  • 9

Comments

Add your comment
User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

Underscores in numeric literals: already available in Ruby

Binary literals: as is from Ruby

But the octal notation is still in there.

User 174509 avatar

philho replied ago:

0 votes Vote down Vote up Reply

They were in Ada way before Ruby was dreamed!
Comparing languages is a fail game.

http://archive.adaic.com/standards/83lrm/html/lrm-02-04.html

User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

Good link.
The base notation (2.4.2. Based Literals )is what Java should have implemented. At last , at long last, the programmer could write:
int tval1 = 000000451;
int tval2 = 003311112;
int tval3 = 900000001; // all aligned!
// and
int oct_special = 8#011#;

User 393686 avatar

RawThinkTank replied ago:

0 votes Vote down Vote up Reply

Absolute nonsense codeing shorthands.

Hmm, so which is the latest dynamic language that dont have closures ?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.