Author |
Message |
[Gandalf]

|
Posted: Wed Apr 26, 2006 11:55 pm Post subject: (No subject) |
|
|
I hate spam.
There are many styles of writing Java out there, what are we talking about? Sun's guidelines?
For exampe:
code: | if (somethingIsTrue) System.out.println("Yay!"); |
as opposed to:
code: | if (somethingIsTrue)
System.out.println("Yayaya!"); |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Andy
|
Posted: Thu Apr 27, 2006 11:16 am Post subject: (No subject) |
|
|
or better yet
somethingIsTrue?System.out.println("Yayaya!"):System.out.print("");
a better way would to be count the number of semicolons. a for loop requires 2 semicolons, and so does a while. |
|
|
|
|
 |
zylum

|
Posted: Thu Apr 27, 2006 1:17 pm Post subject: (No subject) |
|
|
dont worry, im not using any cheap short cuts.. although i do put my expression on the same line as an if statement. |
|
|
|
|
 |
MysticVegeta

|
Posted: Thu Apr 27, 2006 1:33 pm Post subject: (No subject) |
|
|
yup same here, no cheap short cuts |
|
|
|
|
 |
Andy
|
Posted: Thu Apr 27, 2006 1:36 pm Post subject: (No subject) |
|
|
how is that a cheap shortcut? it's more logical to me.. |
|
|
|
|
 |
zylum

|
Posted: Thu Apr 27, 2006 2:58 pm Post subject: (No subject) |
|
|
[mod:81158a5e7d="rizzix"]Yea thanks for screwing things up. [/mod:81158a5e7d] |
|
|
|
|
 |
zylum

|
Posted: Thu Apr 27, 2006 3:03 pm Post subject: (No subject) |
|
|
wtf is that... each time i submit it says error, 30 seconds of execution exceeded or something like that. now i go and its posted like 5 times!
anyways, you get my point
now.. how to delete those  |
|
|
|
|
 |
MysticVegeta

|
Posted: Thu Apr 27, 2006 7:41 pm Post subject: (No subject) |
|
|
wow you hardly get to see zylum going psycho |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Andy
|
Posted: Fri Apr 28, 2006 12:05 am Post subject: (No subject) |
|
|
wow, you hardly not see mysticvegeta spam.. this is your first warning |
|
|
|
|
 |
MysticVegeta

|
Posted: Sat Apr 29, 2006 7:37 pm Post subject: (No subject) |
|
|
hey! I wasnt spamming dude calm down. it was a legitimate comment you know to add a little comic relief. Anyways, zylum, what does the "?" do? Is it like "{" for the if statement? |
|
|
|
|
 |
Cervantes

|
Posted: Sat Apr 29, 2006 8:00 pm Post subject: (No subject) |
|
|
Note: Because zylum has so skillfully destroyed the page layout, the quotes and code in this post got shifted a long ways over to the right.
MysticVegeta wrote: hey! I wasnt spamming dude calm down. it was a legitimate comment you know to add a little comic relief.
He only gave you a warning, so you should calm down yourself. But his warning is valid. You've been spamming a lot lately.
Re: "comic relief": zylum gave the comic relief. Why do we need comic relief in response to comic relief? *Rhetorical
MysticVegeta wrote: Anyways, zylum, what does the "?" do? Is it like "{" for the if statement?
"?" together with the ":" is the ternary operator. It's like an if statement.
is the same as
code: |
if a > b
a
else
b
end
|
|
|
|
|
|
 |
Martin

|
Posted: Sun Apr 30, 2006 7:27 pm Post subject: (No subject) |
|
|
Just a reminder, the contest closes about 24 hours from now (9:00 am tomorrow, my time). |
|
|
|
|
 |
Martin

|
Posted: Mon May 01, 2006 6:09 pm Post subject: (No subject) |
|
|
Last call for entries. One hour remaining. |
|
|
|
|
 |
MysticVegeta

|
Posted: Mon May 01, 2006 7:35 pm Post subject: (No subject) |
|
|
Are you annoncing the results when the contest ends? |
|
|
|
|
 |
zylum

|
Posted: Mon May 01, 2006 10:33 pm Post subject: (No subject) |
|
|
i win? |
|
|
|
|
 |
|