1. My idea for a namespacing solution

What about pure OOP, this elminates all the problems that you are trying to
solve.

--OopDemo.ex
-- using my Person demo from Sympel/STOOP

class Person
  sequence Name,Phone
  integer Age

  public procedure Person (sequence n, sequence p, integer a)
    Name = n;
    Phone = p;
    Age = a;
  end procedure

  public procedure display()
    IO.printf(1,"Hello, my name is %s, i'm %d years old, and my number is
                 %d",{Name,Age,Phone})
  end procedure

end class

public class OopDemo

  public static procedure main(sequence cmdline)
    Person p
    p = new Person("Ian","555-2342",17)
    p.display()
  end procedure

end class

-- end

the program would also have to be invoked like
  ex OopDemo.ex

Notice how it's Java-like, this is because i have a new found love for
Java.

I REALLY like this idea, please Rob? please!

Ian.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » topic index » view message » categorize

2. Re: My idea for a namespacing solution

On Mon, 23 Oct 2000, No Solution wrote:
>
> Notice how it's Java-like, this is because i have a new found love for
> Java.

Tell me, please, what you're running. I've tried Java a couple of times, the
latest being IBM's Visual Age. It's always been so slow that I couldn't
consider using it for anything more than "Hello World".
The Visual Age IDE, for example, is so slow that yuo forget why you
clicked on a button by the time something finally responds to that button
click. I've never had the patience to actually try to write a program using it.
This is on a 300mhz pc with 128 megs that runs other stuff at a good
speed.

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

3. Re: My idea for a namespacing solution

>Tell me, please, what you're running. I've tried Java a couple of times,
>the
>latest being IBM's Visual Age. It's always been so slow that I couldn't
>consider using it for anything more than "Hello World".
>The Visual Age IDE, for example, is so slow that yuo forget why you
>clicked on a button by the time something finally responds to that button
>click. I've never had the patience to actually try to write a program using
>it.
>This is on a 300mhz pc with 128 megs that runs other stuff at a good
>speed.
>

Does IBM use JFC/Swing?, that API is horribly slow, AWT is so much more
faster, maybe Visual Age uses it's own VM? i don't know for sure. I have p75
with 32 megs of ram and apps using AWT run fine. i always thought Swing was
slow because my pc was slow, but i have found it has a really bad rep for
poor speed.

My advice to you is find an AWT tutorial, get TextPad and develop your java
apps without the Visual luxury.(i find it a little too easy)

I guess java is still to slow to have such a complex GUI api like Swing to
be used as a standard API, it's probably slow because it's built off of AWT
itself.

Anyways i'm carrying on.

(PS : so does this mean you like my idea :)

Ian



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu