[2024] in java-interest

home help back first fref pref prev next nref lref last post

Re: Fn ptrs & ... callbacks!?

daemon@ATHENA.MIT.EDU (Steve Witham)
Fri Sep 22 01:55:42 1995

Date: Thu, 21 Sep 1995 22:38:21 -0400
To: java-interest@java.sun.com
From: sw@tiac.net (Steve Witham)

>From: jpayne@starwave.com (Jonathan Payne)
>Subject: Re: method/fn ptrs?
>
>Could you imagine implementing emacs-style keymaps in Java?  You'd
>have to implement a KeyAction subclass for each command you want to
>bind to a key.  And each one of those subclasses would probably make a
>call to another object that implements all that commands, since they
>would probably rather be all together.

So?  What's your point?  :-)

>It's also a problem for handling callbacks from GUI controls.

I thought Java got rid of callbacks by having threads...didn't it?
Callbacks are just a dumb, inside-out way to implement threads.
Why try to immitate them in a language that has real threads?

 --Steve

Windows '95--Why 1995 will be like 1984.


-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post