Re: [lang] Ideas for Lang

2002-10-14 Thread John Yu
At 12:18 pm 14-10-2002, you wrote: I suppose what you have in mind is MutableString extends java.util.String. String is final. Same for all/most of the Immutable painful things. Oops, missed the obvious... ;-p 4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice

Re: [lang] Ideas for Lang

2002-10-14 Thread Henri Yandell
On Mon, 14 Oct 2002, John Yu wrote: 4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice sometimes. I only have one because I was porting the lisp examples to Java from the lisp book [yep, i'm that sick]. Isn't o.a.c.collections.DefaultMapEntry, fulfilling

RE: [lang] Ideas for Lang

2002-10-14 Thread Martin Cooper
-Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002 5:33 AM To: Jakarta Commons Developers List Subject: Re: [lang] Ideas for Lang On Mon, 14 Oct 2002, John Yu wrote: 4) Pair. Is this Collections? Dunno. Anyway, pairs

RE: [lang] Ideas for Lang

2002-10-14 Thread bob mcwhirter
I was hoping there might be a good Lisp fanatic or something with some reasons for why a Pair object would be very useful. I seem to recall reading someone's blog opining for a Pair class. Well, you could certainly do lists the LISP way with a Pair class. One element is the CAR and the

Re: [lang] Ideas for Lang

2002-10-14 Thread Steve Downey
On Monday 14 October 2002 02:26 pm, bob mcwhirter wrote: I was hoping there might be a good Lisp fanatic or something with some reasons for why a Pair object would be very useful. I seem to recall reading someone's blog opining for a Pair class. Well, you could certainly do lists the

Re: [lang] Ideas for Lang

2002-10-13 Thread Steve Downey
On Friday 11 October 2002 07:49 pm, Henri Yandell wrote: On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same for MutableString. I'm not so sure about

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same for MutableString. I'm not so sure about Mutable value classes. I'd want to see a use case for them

RE: [lang] Ideas for Lang

2002-10-13 Thread Martin Cooper
-Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 1:14 PM To: Jakarta Commons Developers List Subject: [lang] Ideas for Lang Here's my list of things I mean to get around to adding soon: 1) Notifier class. I need a better

Re: [lang] Ideas for Lang

2002-10-13 Thread John Yu
Steve, At 04:48 am 13-10-2002, you wrote: On Friday 11 October 2002 07:49 pm, Henri Yandell wrote: On Fri, 11 Oct 2002, Steve Downey wrote: 2) Mutable primitive classes. Pondered this at the hospital today. Do we want such things? new MutableInteger(); mi.setValue(42); etc. Same

Re: [lang] Ideas for Lang

2002-10-13 Thread Henri Yandell
On Mon, 14 Oct 2002, John Yu wrote: Steve, An initial thought: I suppose what you have in mind is MutableString extends java.util.String. String is final. Same for all/most of the Immutable painful things. 4) Pair. Is this Collections? Dunno. Anyway, pairs seem to be nice

Re: [lang] Ideas for Lang

2002-10-12 Thread Stephen Colebourne
From: Henri Yandell [EMAIL PROTECTED] 1) Notifier class. I need a better name for this. Basically it's a helper that uses reflection [used to use Notifiable interface, but I decided it wasn't worth it, possibly wants to do both] to help a developer create an event/listener list. It handles

Re: [lang] Ideas for Lang

2002-10-12 Thread Steve Downey
On Friday 11 October 2002 04:13 pm, Henri Yandell wrote: Here's my list of things I mean to get around to adding soon: 1) Notifier class. I need a better name for this. Basically it's a helper that uses reflection [used to use Notifiable interface, but I decided it wasn't worth it, possibly