The Furious Angels

FA Discussion => Off Topic => Topic started by: Anonymous on May 18, 2005, 12:49:03 am

Title: Useless Posts
Post by: Anonymous on May 18, 2005, 12:49:03 am
Java and boredom are a bad combination:

public class UselessTopic extends Topic
{
   public static void main(String args[])
   {
      private int posts = 1000000;
      System.out.print("Let's see how many useless posts we can make:");
      
      for ( int postCount=0; postCount < posts; postCount++ )
      {
         System.out.println( postCount + "useless posts so far.");
         System.out.println( "Let's go for more!" );
      }
      
   }
}


(Note: This version doesn't actually compile...Unless you write a superclass for it and change the variable declarations).
Title: Useless Posts
Post by: Anonymous on May 18, 2005, 12:49:50 am
Okay, here's a version that compiles.
Just throw it into your favorite Java compiler and watch it go!

public class UselessTopic
{
   public static void main(String args[])
   {
      int posts = 1000000;
      System.out.println("Let's see how many useless posts we can make:");
      
      for ( int postCount=0; postCount < posts; postCount++ )
      {
         System.out.println( postCount + " useless posts so far.");
         System.out.println( "Let's go for more!" );
      }
      
   }
}


(Edited for Kosila's nitpicky neatfreakyness)
Title: Useless Posts
Post by: Kosila on May 18, 2005, 01:01:23 am
Make the first out.print into a out.println ... also make it " useless posts so far." ... otherwise it will print like this:

Code: [Select]
Let's see how many useless posts we can make:0useless posts so far.
Let's go for more!
1useless posts so far.
Let's go for more!
...


:P I'm obsessed with how good the results looks. I've lost marks before for wasting my time on making it look good.
Title: Useless Posts
Post by: Fuse on May 18, 2005, 01:05:58 am
<---does it old fasio way

postCount++;
Title: Useless Posts
Post by: Anonymous on May 18, 2005, 01:13:53 am
damn midnight, if you're actually taking the time to type all of that out in the forums, u must be bored out of your mind............DAMN

at least when im bored, i grab a pillow, get comfortable on a couch, and go to sleep....   :p
Title: Useless Posts
Post by: Anonymous on May 18, 2005, 03:33:46 am
<useless>

Man, you guys got my hopes up with a topic like useless posts. I thought someone was on to me. Turns out this is a friggin coder's workshop. Well, I got my useless post in here anyway didn't I. YAY me!!

</useless>
Title: Useless Posts
Post by: Ketamininja on May 18, 2005, 04:02:05 am
Code: [Select]

$posts = 1000000;
echo "Let's see how many useless posts we can make:<br>";
for($i=1;$i<$posts;$i++){echo $i." useless posts so far.<br>Let's go for more!<br><br>";}

pwned.
Title: Useless Posts
Post by: Anonymous on May 18, 2005, 04:31:11 am
<------ says it all.

over 1000 completely useless posts

about 100 of which made sense to more than 3 people

and about 10 of which held any sort of significance :)

.... oops ... .shouldn't have said that .... please don't don me with the spam forums award!!! i'm not THAT bad!!! i've just been here for a year!! lol :)
Title: Useless Posts
Post by: Anonymous on May 18, 2005, 06:55:32 pm
Quote from: "Ketamininja"
Code: [Select]

$posts = 1000000;
echo "Let's see how many useless posts we can make:<br>";
for($I=1;$I<$posts;$I++){echo $I." useless posts so far.<br>Let's go for more!<br><br>";}

pwned.

Aw hell naw. PHP?
SimplePortal 2.3.8 © 2008-2025, SimplePortal