Skip to content

Java go on!

I don’t know what to think about somebody who really likes Java because this really odd:

[code lang="java"] int[] arr = (int []) arr.clone(); [/code]

arr is declared as a int []. VERY UGLY. That’s an hack.

Java 5 seems a bit smarter and it doesn’t require the cast.

I used Java 5 while developing but I realized it has to run on top of Java 1.4 so here it is :-)

Gotta convince people in universities to let go of Java. :-)

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • Facebook
  • Twitter
  • Google Bookmarks
  • FriendFeed
  • Google Buzz
  • HackerNews
  • Posterous
  • Reddit
  • Slashdot
  • Tumblr