boglin: (Default)
[personal profile] boglin
Well, that's a surprise.

After all -

NOBODY expects the Spanish Inquisition!

Date: 2005-04-19 09:32 pm (UTC)
From: [identity profile] acheron-hades.livejournal.com
*snigger*

(Wandered over from my friends-of-friends list, BTW)

Date: 2005-04-19 09:50 pm (UTC)
From: [identity profile] scarybex.livejournal.com
Hehe, was waiting for that!

Date: 2005-04-19 10:17 pm (UTC)
From: [identity profile] liz-lowlife.livejournal.com
NO! I'M LARS ULRICH!!

Date: 2005-04-19 11:11 pm (UTC)
From: [identity profile] sciamachy.livejournal.com
NO! I'M LARS ULRICH!!

Date: 2005-04-19 11:13 pm (UTC)
From: [identity profile] liz-lowlife.livejournal.com
Oh, I think you will find that in reality....
....NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!
NO! I'M LARS ULRICH!!

Date: 2005-04-19 11:27 pm (UTC)
From: [identity profile] sciamachy.livejournal.com
Ah, but:

public class WhoAmI {
    public void go(){
        System.out.println("NO! I'M LARS ULRICH!!");
        go();
    }

    public static void main(String[] args){
        new WhoAmI().go();
    }
}

Date: 2005-04-19 11:29 pm (UTC)
From: [identity profile] sciamachy.livejournal.com
Or even:
public class WhoAmI {
    public void go(){
        while(true)
            System.out.println("NO! I'M LARS ULRICH!!");
    }

    public static void main(String[] args){
        new WhoAmI().go();
    }
}

Date: 2005-04-19 11:33 pm (UTC)
From: [identity profile] liz-lowlife.livejournal.com
With your non- 'keep it live' geekery-sorcery, you are confusing me, Sir.

I am but a humble drummer.

Date: 2005-04-20 07:00 am (UTC)
From: [identity profile] sciamachy.livejournal.com
Both classes define a method which repeatedly prints out "NO! I'M LARS ULRICH!!", called go(). The main(String[] args) method is the one that is set in motion by default, and that creates an instance of the class and sets its go() method in motion. So, in BASIC, it's essentially:
10 PRINT "NO! I'M LARS ULRICH!!"
20 GOTO 10

just rendered into Java.

Date: 2005-04-20 04:53 pm (UTC)
From: [identity profile] liz-lowlife.livejournal.com
Now that, I *do* understand!

I had a ZX Spectrum as a tiddler!

Date: 2005-04-20 07:02 am (UTC)
From: [identity profile] sciamachy.livejournal.com
Technically, I think the first one's one to avoid as it calls itself recursively but has no way to get out of the loop, so there's a good possibility it'd fall over having claimed all your memory. BICBW.

Date: 2005-04-20 01:50 am (UTC)
From: [identity profile] gabby2600.livejournal.com
http://www.burninghand.org/pictures/lackoffaith.jpg

This is so right

Profile

boglin: (Default)
boglin

December 2009

S M T W T F S
  12345
678 9101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 5th, 2025 12:34 pm
Powered by Dreamwidth Studios