JavaScript is required to use Bungie.net

OffTopic

Surf a Flood of random discussion.
3/20/2013 4:48:03 AM
12

This is why Java sucks

[quote]byte[] buff = new byte[]{'H', 'e', 'l', 'l', 'o'}; String str1 = new String(buff); String str2 = "Hello"; if(str1 == "Hello"){ System.out.println("Every good programming language"); } else if(str1 == str2){ System.out.println("lolwut?"); } else{ System.out.println("Java " + (str1.equals("Hello") ? "sucks" : "doesn't suck")); }[/quote] Output:[quote]Java sucks[/quote]

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

View Entire Topic
  • I thought Java sucks because of the massive security holes that have existed in the program from Day One. Which they patched. Only the patch introduced even bigger security holes. So big that even Java's creators said to turn it off and shut it down. This happened months ago.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon